Thanks for the reply there Nino. I have set up a custom expired page and have
set the following in Application class 
getApplicationSettings().setPageExpiredErrorPage(PageExpired.class);

Now the page expired is set to this page. But still on hitting the back
button I get back to the page. I tried  using the
SimplePageAuthorizationStrategy in my Application.init() method. The code
that put in there looks something like this

SimplePageAuthorizationStrategy authorizationStrategy = new
SimplePageAuthorizationStrategy(
                LimitManagerPage.class, PageExpired.class)
                {
                        protected boolean isAuthorized() {
                                // Authorize access based on user 
authentication in the session
                                if(((WebSession) 
Session.get()).isSessionInvalidated()){
                                        return false;
                                } else {
                                        return true;
                                }
                        }
                };
 
        getSecuritySettings().setAuthorizationStrategy(authorizationStrategy);

But this doesn't provide the desired result as well. This doesn't even show
my custom PageExpired web page. Any ideas about why this is not working or
something else that I can do to get this to work.

Thanks in advance,
vishy


-- 
View this message in context: 
http://www.nabble.com/Clearing-Cache-after-Logout-tp20823965p20837005.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]

Reply via email to