Problems with Session Variables

Results 1 to 5 of 5

Thread: Problems with Session Variables

  1. #1
    Wes Weeks Guest

    Default Problems with Session Variables

    This one is making me nuts. I use a Session variable to authenticate users for a portion of my site. The Session variable is set in the Global.asa file to &#039false&#039 on session start. When someone enters a valid Username and Password, the value is set to &#039true&#039<BR> If anyone tries to directly link to one of the protected pages and bypass entering a username and password, they are redirected to another page if the value is anything but "true" <BR> I have one person out of the 200 or so that regularly use my site, who said he couldn&#039t access the protected pages. I initially thought he was directly linking to them, and set up a way to check him. I had him type in a special password at the login prompt which redirected him to a page that stored his browser, system, IP, and host information. It also stored the username he entered as a Session Variable as well as displaying the contents of the Session Variable I use for authentication. The results are emailed to me.<BR> I tested this on myself, and had my wife try it from home to confirm that it would work. It works fine, all the information I want is there in my two trials. I email the person having the problem, he tries it, and SURPRISE!! THE TWO FIELDS THAT SHOULD HOLD THE SESSION VARIABLES ARE BLANK!!! <BR> Anyone with any information on how this could happen, please let me know, as well as any work arounds. For what its worth, the client is using Win 95 and IE 4.01.<BR><BR>Thanks,<BR><BR>Wes Weeks

  2. #2
    Richard L. Guest

    Default RE: Problems with Session Variables

    Does the user have cookies disabled on his broweser?... that would cause sessions not to work.

  3. #3
    Join Date
    Dec 1969

    Default RE: Problems with Session Variables

    Does this person have cookies disabled on his browser? If so the session variables will not work.

  4. #4
    Richard L. Guest

    Default RE: Problems with Session Variables

    Wow, Rick... we gotta be ASP twins.. :)

  5. #5
    Wes Weeks Guest

    Default RE: Problems with Session Variables

    Thanks, that solved the problem.

Posting Permissions

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