Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JSP - Session

 
sreedhar
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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,
sreedhar
 
Frank Carver
Sheriff
Posts: 6920
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
Thanks.
 
scott laplante
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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: http://wsabstract.com/script/script2/cachebust.shtml
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic