Quantcast
Channel: Mendix Forum Questions
Viewing all articles
Browse latest Browse all 82391

Custom logout page Mendix 6

$
0
0

How can I implement a custom logout page with Mendix 6. In previous versions it was possible to add a script to the index page that could intercept the logout action and change the window location, something like:

mx.logout = function(){window.location = "logout.html";}

This doesn't work in version 6.

I have tried implementing a logout button with a microflow that creates an object and shows a page with a url redirector an performs the logout via a java action. But it seems that the logout action in java redirects to the index page after the logout (refreshes the page).

How would I redirect the user to a custom logout page and make sure the session is destroyed?


Viewing all articles
Browse latest Browse all 82391

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>