Hi folks - a newbie here, trying to get my head round PHP sessions.
I put session_start()in a script on main page of my website expecting the session to persist when the user looks at other pages of my site but this does not seem to be the case. The session appears to 'stop'.
If session cookies are enabled in php.ini i can get to the info by calling session_start() on another page and the cookie supplies the session id from the previous start up.
Is session_start a bit of a misnomer - should it be more like session_open - and should i try to the think of the session as a pseudo file that you open with session_start().
Or should it persist and i have set something incorrectly, perhaps.
I have Apache as a server on my PC and have set the site up on localhost.
Many thanks for any help.