Two Laptop Bag
The moose likes Servlets and the fly likes JSP - Session Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "JSP - Session" Watch "JSP - Session" New topic

JSP - Session


Joined: Sep 17, 2004
Posts: 7
hello everybody, i am doing a work in jsp. u might be
knowing that while browsing some sites, when we go back after
getting logged out, we see a warning that the "THE PAGE HAS
EXPIRED". how is it possible.
I think that it's not enough to invalidate the session, to
do that. what are necessary tools to achieve the above.
with regards,
Frank Carver

Joined: Jan 07, 1999
Posts: 6920
Please note that The Java Ranch has a naming policy, described here and "sreedhar" is not a valid name. Please choose one which meets the requirements.

Read about me at ~ Raspberry Alpha Omega ~ Frank's Punchbarrel Blog
scott laplante

Joined: Dec 20, 2000
Posts: 2
The back button works on the browser because the browser has cached the contents of the page.
if you include a directive to disallow the browser to cache pages, you should be good to go, as the browser will send another request to display that page once more.
<META HTTP-EQUIV="Pragma" CONTENT="no-cache">
was found from:
I agree. Here's the link:
subject: JSP - Session
It's not a secret anymore!