struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Paul Benedict <pbened...@apache.org>
Subject Re: Is there a way to remove browser cache once the user clicks the log out button?
Date Thu, 26 Jul 2007 03:37:42 GMT
Do not cache pages when the user is logged in. That's the answer :-)

semaj.najraham wrote:
> Hi guys,
>
> Hope someone can reply me. I removed the browser cache in my application
> using a servlet filter so that if the user clicks the log out button (which
> invalidates the session), he/she cannot see the pages he visited using a
> browser back button. Of course, if I don't remove the cache, he/she sees the
> visited page and when clicks on any links/buttons, the application will take
> to the login page.
>
> My only concern is that I have wizard like page flow so if the user clicks
> the previous button whatever he/she types in the current page will be gone. 
>
> Therefore, I would like to know if there is a way to remove the browser
> cache only after the user clicks the log out button?
>
> Thanks,
> semaj
>   

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message