Check Session

Results 1 to 2 of 2

Thread: Check Session

  1. #1
    Bob Sinclaire Guest

    Default Check Session

    Hi!<BR><BR>I have a problem... i have a login page that pull down the user information and assaign the values in a Sessison (if the username and password is correct)<BR><BR>I store the information using an array and then put the array in the session.<BR><BR>My problem is that if the Session dont exists i get a error message cause i call on the array in the session.<BR><BR>SO is there a way to check a if a session exist and dont check the actual values in the session

  2. #2
    Join Date
    Dec 1969

    Default RE: Check Session

    Try this:<BR><BR>before call on the array in the session, check whether there is any value in session. For Eg:<BR>if Session("VarName") &#060;&#062; "" then<BR> &#039; some procedure<BR>else<BR> &#039; display a message<BR>end if

Posting Permissions

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