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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to