It is possible to end a session from a page. In the Administration module, you will find a page called “Active Sessions”
From here you can logout a session. Be mindful about who can see this page, as the signout button is by default set to ignore security.
In the mendix studio pro I have you can find a screen with all active sessionss and it is possible to logout a session from that screen. I don’t know the consequences when used, but I assume as it is mendix standard it is well thought.
Thanks for the answers. Actually this is how we have things set up right now and it works for responsive app ( with a small delay). But if I kill a session of a user active in a hybrid app, the app just restarts and the user is logged in again…
Any idea how we can prevent this?
Hi Kevin Norman,
The scenario which you are facing is the default behaviour of a hybrid app in mendix and is because of the session token which is responsible for the user to go back the home page .
We have to kill the token for an user when the app reloads after a sucessful session kill. Changes have to be made to the hybrid app template before creating the build.