Results 1 to 3 of 3

Thread: Exists

  1. #1
    Adrian Guest

    Default Exists

    How can i check if a session exists, but i don;t need to know the value.

  2. #2
    Ed Guest

    Default Well

    You could set a session variable in Global.asa&#039;s Session_OnStart() event handler and then check for that variable... or I guess you could do (assuming you knew at least one session variable has been created (or should have been created))<BR><BR>If Session.Contents.Count &#062; 0 then<BR> &#039;Session Exists<BR>Else<BR> &#039;Session does not exist<BR>End If<BR><BR>hth

  3. #3
    Join Date
    Dec 1969

    Default RE: Exists

    If Len(Session("whatever")) &#062; 0 Then<BR>...<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