Click here to Skip to main content
15,886,362 members
Articles / Web Development / ASP.NET

Detect browser closing through clicks on the [X] button

Rate me:
Please Sign up or sign in to vote.
3.36/5 (20 votes)
23 Jun 2005Public Domain3 min read 177.6K   68  
This explains the technique to detect Window closing with C# and how to close user sessions safely at the same time.
No downloads associated with this content

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under A Public Domain dedication


Written By
Web Developer
Mexico Mexico
Mario Serrano is a C# Developer from Mexicali , Baja California. Coding for food...

He was working for Baja California´s Government, developing with Power Builder and Oracle Databases. Now He's currently learning more with C# in his actual job and willing to increase knowledge about .NET Big Grin | :-D .

Comments and Discussions