Preventing the submission of a jsp/html page on users relogging in after timeout
poornima balagopal
Ranch Hand
Joined: Dec 02, 2003
Posts: 83
posted
0
Hi,
I have configured session timeout for my pages.
Now in one of the pages, i have a submit action. My session is timeout when i click on the link. If i relogin again, since it was the submit what i clicked before the session timeout, it directly submit my page.
How can i prevent the page from being submitted when the user logging in again after a time out?
Any kind of help will be greatly appreciated.
Regards,
Poornima
Srikanth Kumar
Ranch Hand
Joined: Jun 04, 2008
Posts: 36
posted
0
You can use filters to reject such requests for which the session has expired.
Srikanth Kumar
SCJP 5, SCWCD 5, SCDJWS 5
subject: Preventing the submission of a jsp/html page on users relogging in after timeout