There were a lot of posts rearding this Back issue in struts-user mailing
list.

-----Original Message-----
From: Alain Gaeremynck [mailto:[EMAIL PROTECTED] 
Sent: December 6, 2004 12:26 PM
To: Tomcat Users List
Subject: Re: Prevent user from retrieving previous page in jsp/servlet


I would suggest doing it client side with javascript.  use 
location.replace(url) which will in effect replace the url in the 
history.  so the back button will take you 2 step back.  The only other 
way that i know of to do this is to clear the cache as offered in the 
other answer thread and keep track of the user's activity in his session

Segree, Gareth wrote:

>I want to invalidate previous page if the back button is pressed. The 
>user should not get the previous page if they return to it pressed.
>
>
>Gareth Segree
>mailto:[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>
>Technical Support Analyst
>The Gleaner Company Ltd.
>7 North Street
>Kingston
>Tel: 922-3400
>
>
>  
>

-- 
Alain Gaeremynck
CTO Le Groupe Interstructure
(514) 374-1110
(514) 825-7810 cell
weblog: http://www.sanssucre.ca


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


!DSPAM:41b49647187547177317199!

Reply via email to