Detecting session timeout

Results 1 to 3 of 3

Thread: Detecting session timeout

  1. #1
    PaulJr Guest

    Default Detecting session timeout

    Is there an easy way to detect that the session timedout?<BR><BR>I have Session variables that are needed for certain pages. I would like to detect this and force the user to log back in.<BR><BR>Thanks in advance

  2. #2
    Join Date
    Dec 1969

    Default RE: Detecting session timeout

    hello, you could use an include file on the pages.<BR><BR>say if you assigned:<BR><BR>session("session_name") = "True"<BR><BR>In the include file you could use:<BR><BR>If session("session_name") = "" Then <BR>response.redirect "login.asp"<BR>end if<BR><BR>Hope this helps<BR>

  3. #3
    Join Date
    Dec 1969

    Default RE: Detecting session timeout

    &nbsp;<BR>Global.asa<BR><BR>has a event called Session_onEnd<BR><BR>check it out.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts