I have a login page that uses post to pass the parameters to a servlet who
validates the user.  If the user is a valid user, another page is displayed.
I don't want the user to be able to hit the back button in the browser
to go back to the login screen so I send the following to the browser
to display the first valid page once a user has been validated.

 <HEAD>
 <SCRIPT>
 location.replace("/reg.html")
 </SCRIPT>
 </HEAD>
 <BODY>
 </BODY>

I thought that this would cause the login screen to be replaced by reg.html.
However, this is not the case.  I am still able to go back to the login
screen.
How do I prevent this?

Any help would be GREATLY appreciated!
Lisa

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to