tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <...@kego.com>
Subject Servlets Q. Way to invoke method upon dropped socket?
Date Thu, 03 Jan 2002 03:41:43 GMT

Ok, 

This is a bit of a servlet question vs. Tomcat, although
I suppose Tomcat (4.0) could have special support for
such a feature.

Is there a way to have a method invoked upon loss
of the HTTP socket?  
(Where the method invoked is in a servlet, jsp, or listener class even)

So, if a user closes his browser window, and the socket
gets closed, I really want to do some cleanup without
having to try to do it <later> by looking at a session
attribute.

Thanks,
Cameron Elliott


--
To unsubscribe:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands: <mailto:tomcat-user-help@jakarta.apache.org>
Troubles with the list: <mailto:tomcat-user-owner@jakarta.apache.org>


Mime
View raw message