Hello..

This is more of a Servlet question I guess but I'm wondering if there is
any way to get notified as soon as the user disconnects a connection.

I know about having an object implement the HttpSessionBindingListener
interface but that doesn't notify me until the session times out... I
can use this to get notified when a user logs in but if he/she then does
something stupid, like closes the browser without pressing the
disconnect link first, the session hangs for a specific amount of time.
Is there any elegant solution to this?  Getting notified if the
connection is lost?

Thanks in advance,
        Stefan Freyr

--------------------------------------------
Stefan Freyr Stefansson
Software Developer
deCODE Genetics, Inc.

Phone: (+354) 570 2854
GSM:   (+354) 861 1718
Fax:   (+354) 491 3782

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

Reply via email to