[thelist] Curious Question about Session Variables

Rob Smith rob.smith at THERMON.com
Mon Dec 30 13:24:01 CST 2002

Good, I was curious about that. The session_OnStart() and session_OnEnd()
functions are called by IIS? through the global.asa? Forgive me, I haven't
had the time to get really in-depth with this. Setting Session.timeout = 90
(hour and a half) doesn't seem to work at times... for some odd reason.
Don't shake a stick at replying on to that, just rambling.


> 1 - The global.asa session_OnEnd() procedure is called when a
> session expires.  BUT, the session variables are frequently
> not available at that time.  This makes it impossible to
> perform any DB cleanup for a specific user at that call.

A little late on this, but just a quick note to say do NOT use/rely
Session_OnEnd(). Well documented that it is unreliable. Even in IIS 5.0
(Win2k) (Don't know about 5.1).


More information about the thelist mailing list