You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Carlos <li...@lpis.com> on 2000/12/04 13:41:04 UTC

session and login

Hello i am making a jsp pages and i have a problem
For entering in some pages there is necessary the login.
if the user have make login theses pages doesn't ask thelogin but the user
have not make login or 30 minutes have passed the pages must been ask the
login.,
How i can make thist?
thanks
Carlos


Re: session and login

Posted by Kief Morris <ki...@bitBull.com>.
Carlos typed the following on 13:41 04/12/2000 +0100
 >Hello i am making a jsp pages and i have a problem
 >For entering in some pages there is necessary the login.
 >if the user have make login theses pages doesn't ask thelogin but the user
 >have not make login or 30 minutes have passed the pages must been ask the
 >login.,
 >How i can make thist?

Set a cookie in the user's browser when they log in, and check this if the
session has expired. You can put an ID in the cookie value that you can use
to look up the user's information and put it back into the session.

kief

---
               bitBull makes the Internet bite: http://www.bitBull.com/demos/