Custom logout page Mendix 6

2
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?
asked
1 answers
1

You can set the 'originURI' cookie instead. Also see this forum question.

answered