Determine a valid session.

Discussion in 'PHP' started by Marc, Sep 12, 2005.

  1. Marc

    Marc New Member

    Joined:
    Sep 12, 2005
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    0
  2. coderzone

    coderzone Super Moderator

    Joined:
    Jul 25, 2004
    Messages:
    736
    Likes Received:
    38
    Trophy Points:
    28
    Code:
    if(isset($_SESSION['ArrayName']))
    {
      //Valid session
    }
    else
    {
      //Invalid session
    }
     
  3. shabbir

    shabbir Administrator Staff Member

    Joined:
    Jul 12, 2004
    Messages:
    15,375
    Likes Received:
    388
    Trophy Points:
    83

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice