Redirectng Logged in Users

Results 1 to 2 of 2

Thread: Redirectng Logged in Users

  1. #1
    Join Date
    Dec 1969

    Default Redirectng Logged in Users

    I&#039;m using an include page at the top of all my password protected pages which just checks for the existence of a session variable and redirects users to a login page if it doesn&#039;t exist. How would I redirect a user back to the original page which they requested after logging if they were not logged in or session expired etc.? <BR><BR>For example, she requests library.asp, but she was not logged in so is redirected to login.asp. After logging in, can she be automatically redirected back to library.asp ?

  2. #2
    Join Date
    Dec 1969

    Default Request.ServerVariables("HTTP_REFERER")


Posting Permissions

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