Sessions Expired

Results 1 to 2 of 2

Thread: Sessions Expired

  1. #1
    Join Date
    Dec 1969

    Default Sessions Expired

    I have a site that uses Sessions to track some user info. My problem is when a user leaves there browser open for a while, there session will expire, and any page trying to use the session info will throw an error. Is there way to check if the session has expired, and if so redirect them back to the login screen? Thanks!

  2. #2
    Join Date
    Dec 1969

    Default RE: Sessions Expired

    Yes, by setting a value in the session, for instance:<BR><BR>Session("SessionActive") = True<BR><BR>If you request Session("SessionActive") and you do not get True returned, the session must be expired.

Posting Permissions

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