When the user logs in, create a session for the user
and say put in a value of 1 in some variable. If the
user reopens the browser and tries to go to the
bookmark, check if the session exists, if not
redirect the user to a relogon page.
Hope this helps.
-- J
---Alex Khordos <[EMAIL PROTECTED]> wrote:
>
> 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
>
_________________________________________________________
DO YOU YAHOO!?
Get your free @yahoo.com address at http://mail.yahoo.com
___________________________________________________________________________
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