tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Phillip Qin <Phillip....@shareowner.com>
Subject RE: Prevent user from retrieving previous page in jsp/servlet
Date Mon, 06 Dec 2004 17:28:58 GMT
There were a lot of posts rearding this Back issue in struts-user mailing
list.

-----Original Message-----
From: Alain Gaeremynck [mailto:garem@interstructure.ca] 
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:Gareth.Segree@gleanerjm.com <mailto:Gareth.Segree@gleanerjm.com>
>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: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


!DSPAM:41b49647187547177317199!

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message