This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
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

Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
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:
subject: JSP - Session