It is a very old question in this list archive !!!!!!
No way to know when a browser is canceled for exemple ....
For me I write an invisible applet java 1.1 very simple which send something to my servlets when the method destroy() of applet is executed by the browser ( when the browser is canceled for exemple ) ... 
----- Original Message -----
Sent: Tuesday, September 10, 2002 2:23 AM
Subject: Re: how to get notified if user close browser

so that i can invalidate instantly the session associated with that browser.

i tried implementing the session listener concept but when i close the browser the
session object hasn't been unbound...instead it waits for its session timeout to expire
before it invalidates the session.

is there a way i can get notified and invalidate the session the moment the browser closes?

i'm using servlet...i'm not planning on putting javascript...is it possible?

thanks a lot
 
randie

Albert Pi wrote:
What's the reason you want do that ?


Albert Pi
Corp IS System Delivery
516-803-3762


  
[EMAIL PROTECTED] 09/09/02 06:42AM >>>
        
hi,

   can anyone have an idea about this.

   how can i check or get notified on my servlet if the client browser
has close?
   also when my session has timeout?

   is there any event notification that my servlet would receive or i
have to check
   it manually?

   i'm using Tomcat 4.0.

thanks

   randie

___________________________________________________________________________
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

___________________________________________________________________________
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