This content has been marked as final.
Show 3 replies
-
1. Re: Back button after logout - solved through Seam?
gavin.king Mar 2, 2007 11:31 AM (in response to hamtho2)The browser does not hit the server when you press back - so, no, it is not possible.
-
2. Re: Back button after logout - solved through Seam?
hamtho2 Mar 2, 2007 11:38 AM (in response to hamtho2)But if you tell the browser not to cache anything, this works.
I used this together with Struts, where I had to change the RequestProcessor.
There are some examples on how to solve this out in the net. But I don´t really like them, as you have to use jsp:scriptlet for that.
But I see, that it´s not possible at the moment. But as I already said: I think this would be something, that should be added.
Thomas -
3. Re: Back button after logout - solved through Seam?
supernovasoftware.com Mar 2, 2007 12:00 PM (in response to hamtho2)I put this as a JS include in all my pages.
window.history.forward(1);
It prevents back. This could be used only for the logout page in your case. Maybe an AJAX poller that would automatically redirect the page if there is not a valid login?