Thanks, I will try this.

 -----Original Message-----
From:   Gokul Singh [mailto:[EMAIL PROTECTED]]
Sent:   sexta-feira, 18 de Agosto de 2000 10:29
To:     [EMAIL PROTECTED]
Subject:        Re: Catching Sessions Timeout

Hi,

I think you can acheive it as follows

public void doGet(HttpServletRequest req, HttpServletResponse res)
{
    if (!req.isRequestedSessionIdValid () ) // invalid Session
    {
        // redirect to login page
    }
    ..
    ..
}

you can refer to the API docs for more details of the method
isRequestedSessionIdValid()..

regds,
Gokul

----- Original Message -----
From: "Silvia Gaspar" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, August 18, 2000 2:27 PM
Subject: [SERVLET-INTEREST] Catching Sessions Timeout


> Hi all,
>
> How can we catch a Session Timeout? Is there any special catch? I want to
> send the people to login page every time they let the session timeout. How
> can I do this?
>
> Thanks
>
>
___________________________________________________________________________
> 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

___________________________________________________________________________
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