well i am involved in a web project with a timer clock etc. I want to see when exactly a client gets disconnected. Disconnection may be either due to closure of webbrowser or due to any type of dis connection.I want to trap time when this client gets disconnected. I am using servlets,jdbc,sql server7.0,jawawebserver...
I guess you could have an invisible applet sending a request every N seconds and note when that tick fails to appear! Thats the only thing I can think of that would record a broken connection. Bill
I wonder if you use a javascript to capture the window close event, then upon getting this event, redirect to another page that calls a servlet to signal a disconnection. Just a thought. Sean
pie. tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop