[thelist] Curious Question about Session Variables

Sam Carter sam at nativeintelligence.com
Fri Dec 27 15:00:18 CST 2002


Norman is right, but here's a few other details I've noticed.  I'd like
anyone in the list to confirm or deny these..  I'd love to find a fix
for (1).

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.

2 - If you would like to inform the user that his session has expired,
it can be done automatically with a "Refresh" meta tag in the header of
the page code.  Just set the timeout to the session.timeout * 60 (it's
in seconds, not minutes), then redirect to a page saying your session
has timed out.

Sam




More information about the thelist mailing list