I wanted to know when the browser is closed at server side in asp.net 2.0. How to detect in code behind?
The quite obvious question is why do you need this? Do you want to store logout time or closing time? Then its better to catch in session timeout. Do you want to redirect some other page then its better to catch in page unload event of javascript.