• Post Reply Bookmark Topic Watch Topic
  • New Topic

invalidating a session on new browser request  RSS feed

 
Avinash venna
Greenhorn
Posts: 17
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,

I am using JSPs and Servlets for my application.. and it doesnt have log in mechanism

To persist the values in the form(across multiple tabs) i am using session...

When ever i am hitting the same url in the same window the values still persist.. How to i invalidate the session on new browser request..

Regards,
Avi
 
David Newton
Author
Rancher
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You mean *selectively* invalidate a session on a new browser request, otherwise what you're doing currently wouldn't work.

Invalidate the session on the first page of your form/wizard.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!