Stephanie Stowe wrote:
> http://www.aspfaq.com/show.asp?id=2078
>
> I got my butt whooped over at asp.net group the other day with an
> offhanded reference to the unreliability of session on end. I have
> been told that in ASP IIS 5 and beyond, it IS reliable and DOES fire.
I don't understand. The article DOES say that IIS5+ is less unreliable in
this regard than earlier versions. What is the controversy?
> What's the real word?
The real word is that it may not fire when you want or expect it to fire.
For example, it will not immediately fire when a user closes his browser, so
if you are expecting to do user-tracking in this event, expect it to not be
accurate.
You need to keep in mind that only two events will cause session_onend to
fire:
1. The session times out
2. A Session.Abandon statement is executed
Other events, such as the user closing his browser or navigating to another
website, will not end the session until the timeout period expires.
Bob Barrows
--
Microsoft MVP -- ASP/ASP.NET
Please reply to the newsgroup. The email account listed in my From
header is my spam trap, so I don't check it very often. You will get a
quicker response by posting to the newsgroup.