Check for expired session

Results 1 to 2 of 2

Thread: Check for expired session

  1. #1
    Join Date
    Dec 1969

    Default Check for expired session

    When a page loads, How do I check to see if the user&#039s session has expired, and redirect them to another page if the session is expired?<BR><BR>I&#039m using vbscript.<BR><BR>Thanks in advance.<BR><BR>David

  2. #2
    Join Date
    Dec 1969

    Default RE: Check for expired session

    What you can do is in your default.asp page put...<BR><BR>session("time") = "Y"<BR><BR>Then on all your pages put...<BR><BR>if session("time") = "" then<BR> response.redirect "Exires.asp"<BR>end if<BR><BR>

Posting Permissions

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