Where does PHP saves $_SESSION data?

Discussion in 'PHP' started by Multiplexor, Jan 22, 2011.

  1. #1
    Hello,

    when I use sessions, I just call start_session() and than can save data in $_SESSION variable...

    The quesion is: where does PHP saves the data in $_SESSION?
    The $_COOKIE variable contains only the session ID, not the data.
     
    Multiplexor, Jan 22, 2011 IP
  2. vineld

    vineld Greenhorn

    Messages:
    53
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    18
    #2
    The session save path is assigned in the php.ini file.
     
    vineld, Jan 22, 2011 IP
  3. G3n3s!s

    G3n3s!s Active Member

    Messages:
    325
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    80
    #3
    default
    session.save_path /var/lib/php5

    please click to "add reputation" if it helps http://forums.digitalpoint.com/reputation.php?do=addreputation&p=15661838
     
    G3n3s!s, Jan 22, 2011 IP