There is no way to know that.

To release resources use HTTP binding listener and implement the unbind method.  There 
you can release the resources because when the session is expired this method is 
called.

dave.

Joe Lei wrote:

> Hi there
>
> is it possible to notify a servlet from the client side (using JavaScript/applet to 
>servlet communication or else) when the user close the brower (without explicitly 
>logout) so that the clean up process, like closing db connection, invalidating 
>session object etc. can be triggered.
>
> If there're any alternative, pls suggest.  Thx
> Joe
>
> ___________________________________________________________________________
> To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
> of the message "signoff SERVLET-INTEREST".
>
> Archives: http://archives.java.sun.com/archives/servlet-interest.html
> Resources: http://java.sun.com/products/servlet/external-resources.html
> LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

--
David Mossakowski              [EMAIL PROTECTED]
Programmer                           212.310.7275
Instinet Corporation

"I don't sit idly by, I'm planning a big surprise"

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to