Ask a Question
Advertise on boostr.in
Question:PHP session_start doesn't resume session
I want to resume a session. So I'm passing session id and trying to resume session like so:
¬†¬†session_id($_POST['session_id']); ¬†// $_POST['session_id'] = "4dkwkeiugraqhfpeq745l2c2a1";
I see that physical session file exists 'sess_4dkwkeiugraqhfpeq745l2c2a1' in the session folder where I store my sessions. Three is data there. However, the session does not resume. After calling session_start(), $_SESSION variables are not there.
What am I misssing here?
Sep 13, 2013
Sep 12, 2013
to add a comment.
Your name to display (optional):
Email me at this address if my answer is selected or commented on:
Email me if my answer is selected or commented on
Privacy: Your email address will only be used for sending these notifications.
To avoid this verification in future, please