HI VENKATESH MAY BE U CAN DO LIKE THIS
if (session.isNew()) 
        {        
                System.out.println("Invalid session !!!");
                session.invalidate();           
                                
                return;
                
        }
         
        session.invalidate();

> -----Original Message-----
> From: venkatesan [SMTP:[EMAIL PROTECTED]]
> Sent: Monday, February 19, 2001 6:36 AM
> To:   [EMAIL PROTECTED]
> Subject:      session help?
> 
> Hi All,
>         I am working with servlets and tomcat. I am creating sessions,
> that page is timed out after a particular time. If i refresh that page
> is comming. Can anybody tell how can i create session for a particular
> user, that is that particular user could  not able to continue after his
> session has been timed-out. He has to re-enter by giving his user id and
> password......
> 
> cheers
> venkatesh
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, email: [EMAIL PROTECTED]

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

Reply via email to