Bizarre session based error
Posted: Fri Sep 07, 2007 7:24 am
Is anyone aware of PHP cookies or sessions losing data integrity, at seamingly random times?
We have an intermittent problem in our CMS, in which the following value finds its way into almost any $_POST, $_GET or $_REQUEST variable.
"s:956"
If we kill the session, it all behaves itself.
We have been banging our heads together trying to solve this and got nowhere. All we know is, its definitely a back-end problem, either in PHP itself, or Apache.
It seems very odd that it is session-dependent, but the thing that's really confusing is that it is impossible to replicate. It doesn't seem to have any obvious triggers, and parts of the CMS that work fine for days or weeks, will suddenly begin producing this error.........
Our CMS does use setcookie() at some point, but otherwise we're only using the standard session functionality, i.e. 'session_register()' and '$_SESSION[]' to retrieve session data.
Can anybody can give us a comprehensive answer?
Thanks.
We have an intermittent problem in our CMS, in which the following value finds its way into almost any $_POST, $_GET or $_REQUEST variable.
"s:956"
If we kill the session, it all behaves itself.
We have been banging our heads together trying to solve this and got nowhere. All we know is, its definitely a back-end problem, either in PHP itself, or Apache.
It seems very odd that it is session-dependent, but the thing that's really confusing is that it is impossible to replicate. It doesn't seem to have any obvious triggers, and parts of the CMS that work fine for days or weeks, will suddenly begin producing this error.........
Our CMS does use setcookie() at some point, but otherwise we're only using the standard session functionality, i.e. 'session_register()' and '$_SESSION[]' to retrieve session data.
Can anybody can give us a comprehensive answer?
Thanks.