1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

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:
    734
    Likes Received:
    37
    Trophy Points:
    0
    Code:
    if(isset($_SESSION['ArrayName']))
    {
      //Valid session
    }
    else
    {
      //Invalid session
    }
     
  3. shabbir

    shabbir Administrator Staff Member

    Joined:
    Jul 12, 2004
    Messages:
    15,293
    Likes Received:
    365
    Trophy Points:
    83

Share This Page