If you're using a Servlet 2.3 container, you can configure an
HttpSessionListener in your "web.xml".  This class will be notified when
a session is invalidated.

> -----Original Message-----
> From: Brandon Chee [mailto:brandon_chee@;imedia-tech.com]
> Sent: Friday, November 01, 2002 12:44 PM
> To: struts-user
> Subject: Time out in tomcat
> 
> 
> Dear Mdm/Sir,
> 
>    I have a web-application that ask the user to login first and then
> keep track of their activities while they are using the 
> system. However,
> if they stop using it for a while, the tomcat server will 
> time out them.
> My question: Is there any way that I can call a method to remove the
> user from the system during(or right before) the time out 
> event? Can we
> received that event notification in Struts? I would 
> appreciate a lot if
> anybody can give me some helpful advice. Thanks in advance for your
> help. Have a nice weekend.
> 
> Best regards,
> Brandon
> 
> 
> --
> To unsubscribe, e-mail:   
> <mailto:struts-user-unsubscribe@;jakarta.apache.org>
> For additional commands, e-mail: 
<mailto:struts-user-help@;jakarta.apache.org>

--
To unsubscribe, e-mail:   <mailto:struts-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:struts-user-help@;jakarta.apache.org>

Reply via email to