D
Denon
How to trap browser close event in SERVER side?
I read a lot of forum message, it talk about onclose(), onunload() and even
onbeforeunload() event. However, all of theses are based on javascript
written on the client browser , like IE. To send a POST to web server to
acknowledge its close event.
However, I just think, web server and client browser is a TCP connection.
And if the client browser is close and it imply the TCP socket is broken.
The web should detect the connection lost, Right? Is there any method that
the web server(server side) can detect this?
I'm cope for ASP.NET solution with IE browser as majority.
Thanks for any help
Den
I read a lot of forum message, it talk about onclose(), onunload() and even
onbeforeunload() event. However, all of theses are based on javascript
written on the client browser , like IE. To send a POST to web server to
acknowledge its close event.
However, I just think, web server and client browser is a TCP connection.
And if the client browser is close and it imply the TCP socket is broken.
The web should detect the connection lost, Right? Is there any method that
the web server(server side) can detect this?
I'm cope for ASP.NET solution with IE browser as majority.
Thanks for any help
Den