Try defining a finalize method in an object that resides in the user's
session. When the session is destroyed that object's finalize method will be
called.
Hamish

> -----Original Message-----
> From: Renato Romano [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, January 21, 2003 11:31 AM
> To: 'Tomcat Users List'
> Subject: Doing something on the server when user session expires
> 
> 
> Is it possible to activate a method call when a user session expires,
> independently of the client browsing activity ? A mean, for example: a
> user logs in, then stops his activity for 30 minutes. 
> Supposed that user
> sessione expires after 20 minutes, when he tries to access a 
> page tomcat
> automatically detect that his session expired and shows the user the
> login page, but that happens only when he request a (protected) page,
> that is at time 30; I want to do something exactly when user session
> expires, that is at time 20. Is it possible ?? Thanks a lot
> 
> Renato
> 
> ____________________________________
> Renato Romano
> Sistemi e Telematica S.p.A.
> Calata Grazie - Vial Al Molo Giano
> 16127 - GENOVA
> 
> e-mail: [EMAIL PROTECTED]
> Tel.:   010 2712603
> _____________________________________
> 
> 
> 
> 
> --
> To unsubscribe, e-mail:   
<mailto:[EMAIL PROTECTED]>
For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to