On Tue, Sep 10, 2002 at 08:23:21AM +0800, randie ursal wrote:
> 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?

No it's not possible without using java, javascript or some other
*client* side software that will do this for you. The browser does not
send any notifications to invalidate the session when it shuts down.

>
> 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
> >
> >
> >

--
Dror Matalon
Zapatec Inc
1700 MLK Way
Berkeley, CA 94709
http://www.zapatec.com

___________________________________________________________________________
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