I've been having a very weird problem for a while now. About 1% of
the time, people lose their sessions. Through logging I have
discovered that a lot of these people are getting 2 conflicting
session id's. What is throwing me for a loop is this:
Lets call the session id's aaaaa and bbbbb
session_name() is standard, "PHPSESSID"
session_id() is aaaaa
the URL contains no session info
the session cookie $_COOKIE[session_name()] is bbbbb
$_POST[session_name()] is bbbbb
So how on earth did session_id() get set to aaaaa?
Is session_start() somehow ignoring the cookie?
I'm using the latest release, php 4.3.4
the time, people lose their sessions. Through logging I have
discovered that a lot of these people are getting 2 conflicting
session id's. What is throwing me for a loop is this:
Lets call the session id's aaaaa and bbbbb
session_name() is standard, "PHPSESSID"
session_id() is aaaaa
the URL contains no session info
the session cookie $_COOKIE[session_name()] is bbbbb
$_POST[session_name()] is bbbbb
So how on earth did session_id() get set to aaaaa?
Is session_start() somehow ignoring the cookie?
I'm using the latest release, php 4.3.4
Comment