tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alain Gaeremynck <>
Subject Re: Prevent user from retrieving previous page in jsp/servlet
Date Mon, 06 Dec 2004 17:26:06 GMT
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
> <> 
>Technical Support Analyst
>The Gleaner Company Ltd.
>7 North Street
>Tel: 922-3400

Alain Gaeremynck
CTO Le Groupe Interstructure
(514) 374-1110
(514) 825-7810 cell

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message