Set the session time out for 15 min in your server and  in each servlet
check for session time out :

  if(request.isRequestedSessionIdValid())
  {session is still alive( exists)}
  else
   { force the user to the login page}

Hope this will help u .



----- Original Message -----
From: Arora Tripti <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, January 19, 2001 4:37 PM
Subject: Session Time Out


> hi...
>   In my program i have to forcibly log the user  out after some time  say
15-20 minutes for the
> security of the sight.The user loggs in with a secured userid & passwd.
>
> Do i have to use session time out for that. I am not familiar with this
functionality.
> Can some one help me....
>
> thankx
> Tripti
>
>
___________________________________________________________________________
> 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