Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

ho wcan i do session handling

 
abhinav singhal
Greenhorn
Posts: 29
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
please tell me how can i perform session handling along with back button problem.If i press back button my previous page gets generated which it should not.
 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 33694
316
Eclipse IDE Java VI Editor
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Abhinav,
A common approach is to put a token in the session on the first request. If the token is already there, the back button should not re-render the page.

Note that any approach you take only works for those pages going to the server. If the page is cached locally (like for GET requests), it will be displayed anyway.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic