It's not a secret anymore!
The moose likes JSP and the fly likes session invalidation Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSP
Reply locked New topic

session invalidation

Meenal Srivastva

Joined: Jan 21, 2007
Posts: 19
How can i disable the back button of the browser after having invalidated the session (after logout) in a jsp?

Ali Khalfan
Ranch Hand

Joined: Nov 03, 2007
Posts: 126
i don't think you could do that...but if you can put something in the previous page that if the session is invalidated is would redirect the user to somewhere else

Though i don't know why you'd want to do that.
Ben Souther

Joined: Dec 11, 2004
Posts: 13410

Duplicate of:

Please do not cross-post your questions.

Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
I agree. Here's the link:
subject: session invalidation
It's not a secret anymore!