tomcat-users mailing list archives

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


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

Cameron Elliott

To unsubscribe:   <>
For additional commands: <>
Troubles with the list: <>

View raw message