Hi

I'm trying to implement a simple logout mechanism with the need of complete session termination.

For this I created a LogoutPage and mounted it using mountPage("/logout", LogoutPage.class);

Now this page contains multiple components and a link to change langugage etc, therefore it is stateful. But when I perform a session.invalidate(Now)() in the page's constructor, the user gets redirected to /logout?0 with a new session ID. Probably though the page was stored in the previous session so it doesn't exist with the new one, then he gets redirected back to /logout, back to /logout?0 and so on.........

What do I have to do to implement this simple logout page?

Thanks

Matt

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

Reply via email to