When user is closing the browser window, which is the event fired in global.asax ? Will it fire session_end event ? My requirement is I need to update one value in my DB when user closes browser.
Session End Fired On Global.asax
Collapse
X
-
Tags: None
-
Nothing is fired. your global.asax file is on your server and the browser is on the client's computer. They do not communicate when the browser closes. Some people like to open a pop-up window briefly when the browser closes, but this is blocked by any pop-up blocker.Originally posted by navaneethknWhen user is closing the browser window, which is the event fired in global.asax ? Will it fire session_end event ? My requirement is I need to update one value in my DB when user closes browser.
A better method is to store the info you need to use in session-level variables.
Jared
Comment