This week's giveaway is in the Spring forum.
We're giving away four copies of REST with Spring (video course) and have Eugen Paraschiv on-line!
See this thread for details.
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

Win a copy of REST with Spring (video course) this week in the Spring forum!
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
jQuery in Action, 3rd edition