It does work, but you actually have to wait for the session to expire on the server; what i mean is that if i were to navigate to your page login and look around then just close the browser window, the Session_End event will eventually fire, after my session has timed out. (By default this is 15 mins)
You are probably going to have to write a Javascript that watches for the page to be closed and if it detects that, it is going to have to call a server side method to fire your query.
"The one language all programmers understand is profanity."
|