This week's book giveaway is in the OCAJP 8 forum.
We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line!
See this thread for details.
The moose likes JSP and the fly likes log out Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of OCA Java SE 8 Programmer I Study Guide this week in the OCAJP 8 forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "log out" Watch "log out" New topic

log out

Peter Straw
Ranch Hand

Joined: Jan 08, 2002
Posts: 79
I'm using a jsp page to invalidate the session that stores the user's credentials, then every other jsp in the webapp tests for the users credentials and forwards the user to the login page if these aren't in the session. This doesn't seem to work though if the user logs out and then uses the 'Back' button. Is there a way to prevent them seeing any pages at all, even cached ones, after they've logged out?
Thanks a lot, in advance.
Maulin Vasavada
Ranch Hand

Joined: Nov 04, 2001
Posts: 1873
Hi Peter
Quick search on this forum results into,
I agree. Here's the link:
subject: log out
jQuery in Action, 3rd edition