Well, yes and no. Both of the statements in the global.asa are true as the Session_OnEnd event will fire in both of those situations BUT, you need to remember, HTTP is a stateless protocol so when I click the close button in my browser, unless you have some form of code setup to notifiy the server that I am closing the window, the server has no idea that I have closed my browser.
To explicitly call Session_OnEnd (aka quitting an application) you can call Session.End or Session.Abandon and, of course, it is called after the user has been idle for X mins. (Where X is the timeout period of the session)
hth.
================================================== =========
Read this if you want to know how to get a correct reply for your question:
http://www.catb.org/~esr/faqs/smart-questions.html
================================================== =========
Technical Editor for:
Professional Search Engine Optimization with ASP.NET
http://www.wiley.com/WileyCDA/WileyT...470131470.html
================================================== =========
Why can't Programmers, program??
http://www.codinghorror.com/blog/archives/000781.html
================================================== =========