Set a session variable when the user logs in and check to see if the session
varible set or not, when  somebody tries to read the page without logging
in.

tries to
-----Original Message-----
From: Alex Khordos <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED] <[EMAIL PROTECTED]>
Date: Wednesday, April 21, 1999 2:39 PM
Subject: password protect html


>Hello everyone
>
>Maybe someone will be able to help me. I have a servlet which asks for a
>user name and password and then redirects the person to the proper page.
>My question is how do I solve the bookmarking problem. If a person
>bookmarks test.htm, then he is never asked for a password. It only asks
>for a password if a person goes through login.htm. So how do I solve this
>problem. Any ideas?
>
>___________________________________________________________________________
>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

___________________________________________________________________________
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