Session

Discussion in 'PHP' started by chxxangie, Sep 24, 2007.

  1. #1
    when i logout, i'd destroyed the session.
    is there any way can check that is there session is exist?
    hope can understand what i mean....;)
     
    chxxangie, Sep 24, 2007 IP
  2. designcode

    designcode Well-Known Member

    Messages:
    738
    Likes Received:
    37
    Best Answers:
    0
    Trophy Points:
    118
    #2
    print_r($_SESSION);

    check if your index exist in the session array.
     
    designcode, Sep 24, 2007 IP
  3. chxxangie

    chxxangie Peon

    Messages:
    54
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    thanks for replying....it works..............
     
    chxxangie, Sep 24, 2007 IP
  4. designcode

    designcode Well-Known Member

    Messages:
    738
    Likes Received:
    37
    Best Answers:
    0
    Trophy Points:
    118
    #4
    I am glad that it worked out.
     
    designcode, Sep 24, 2007 IP