Hi all,
I have a logout link that takes me to the login (Home) page. However when I
click the back button it brings me back to the same page that I was on
(Although I am not able to do anything on this page as whenever I press some
button I get the error "Page Expired") A better option would be to display
the Log in page itself even if the back button is pressed. I am trying to
clear the cache so that the back button becomes disabled whenever the log
out button is pressed. The code for my logout button is below:
Link logout = new Link("logout"){
private static final long serialVersionUID = 1L;
@Override
public void onClick() {
session.invalidate();
getRequestCycle().setRedirect(true);
setResponsePage(Index.class);
}
};
Any ideas how this could be resolved.
Thanks in advance,
vishy
--
View this message in context:
http://www.nabble.com/Clearing-Cache-after-Logout-tp20823965p20823965.html
Sent from the Wicket - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]