tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Robert Schulz <Robert.Sch...@xlon.com>
Subject RE: Session Close
Date Wed, 08 Nov 2000 22:49:27 GMT
I assume by "close" you mean
 - session times out
 - session gets explicitly invalidated by calling .invalidate()
This can be trapped by attaching an object which is a 
javax.servlet.http.HttpSessionBindingListener to the session. 

This object gets call backs when it is bound and unbound from 
a session. When a session "closes" all associated objects get 
unbound.

R.
> -----Original Message-----
> From: Pablo Trujillo [mailto:Patrujil@adinet.com.uy]
> Sent: Thursday, 9 November 2000 3:53
> To: Java-Linux; Polinux; Tomcat-Linux
> Subject: Session Close
> 
> 
> I need to execute a procedure when a session closes. Is this 
> possible? How
> it is made?
> -----------------------------------------------------
> Click here for Free Video!!
> http://www.gohip.com/free_video/
> 
> 

Mime
View raw message