Groups | Blog | Home
all groups > asp.net > january 2004 >

asp.net : windows close event


Kiosmy
1/18/2004 9:46:05 PM
I'm doing a chat, if one user close the windows throw X button, I need one event to do an action (delete the user for example) how I can do it. In JavaScript exist onunload event, but it is executed when the page is submit.
Kevin Spencer
1/19/2004 9:50:36 AM
The "onunload" event is executed whenever the browser navigates away from
the current location, as well as when the window is closed.

--
HTH,
Kevin Spencer
..Net Developer
Microsoft MVP
Big things are made up
of lots of little things.

[quoted text, click to view]
event to do an action (delete the user for example) how I can do it. In
JavaScript exist onunload event, but it is executed when the page is submit.
[quoted text, click to view]

AddThis Social Bookmark Button