Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Problem with Tokens

 
Sana Jay
Greenhorn
Posts: 26
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hello,
I am instantiating the tokens in my Reg.jsp using TokenProcessor class.
I am invalidating the token(set to false) once the registration values are in database.
when i go bak to the reg page using the browser's 'back' button after inserting the values..the tokens are false.
But if i refresh the page,then,since i am instantiating the token in my Reg.jsp a new instance of the token is getting instantiated .

How to go abt this...How to use tokens when tokens are instantiated in the jsp pages..

Can anyone Plz guide me in this,
Thanks in advance

Sana
 
Marc Peabody
pie sneak
Sheriff
Posts: 4727
Mac Ruby VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What do you want it to do?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic