| Author |
client connection
|
Rahul Agarwal
Ranch Hand
Joined: Sep 13, 2000
Posts: 52
|
|
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...
|
 |
William Brogden
Author and all-around good cowpoke
Rancher
Joined: Mar 22, 2000
Posts: 12271
|
|
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
|
Java Resources at www.wbrogden.com
|
 |
Sean MacLean
author
Ranch Hand
Joined: Nov 07, 2000
Posts: 621
|
|
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
|
 |
 |
|
|
subject: client connection
|
|
|