File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

session expiry

 
sajeev JS
Greenhorn
Posts: 6
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Dear frinds
I am currently involved in a JSP project .An unsolvable scenarion is there.Whenever a user logs I am putting the details in session variables and checking it in every pages.
My doubt is this
"whenever a user clicks the back button of browser the session should get expired he should be prompted to login again."
i tried with some response headers.but not working
please help me.
regards
Sajeev J.
 
suresh guru
Ranch Hand
Posts: 38
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I think u can use getLastModified Header & invalidate the session based on comparing the time returned
 
arul murug
Greenhorn
Posts: 24
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This article may help in designing better control flow for your webapp.talks about Synchronizer Token pattern.
web page
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic