Edit report at https://bugs.php.net/bug.php?id=51127&edit=1
ID: 51127 Updated by: yohg...@php.net Reported by: asanoki at gmail dot com Summary: $_SESSION illogical behaviour -Status: Verified +Status: Closed Type: Feature/Change Request Package: Session related Operating System: Linux PHP Version: 5.2.12 Assigned To: yohgaki Block user comment: N Private report: N New Comment: php_serialize will be available from PHP 5.5.4. http://git.php.net/?p=php- src.git;a=commit;h=c51f77fe83cea3a48d89423863e6916b77628e47 Previous Comments: ------------------------------------------------------------------------ [2013-08-10 08:18:21] yohg...@php.net Related To: Bug #65359 ------------------------------------------------------------------------ [2013-08-10 08:03:47] yohg...@php.net Use php_serialize serialize handler, then you'll not have such issue. php_serialize is available 5.6 or later. ------------------------------------------------------------------------ [2012-03-31 06:39:21] yohg...@php.net Standard serialize will be used as a default serializer handler for next PHP release. (e.g. 5.5 or later) ------------------------------------------------------------------------ [2012-03-26 12:54:15] simon at hurix dot de ! (exclamation mark) in the key string is also breaking the whole _SESSION array on next hit. I suppose there are some more. ------------------------------------------------------------------------ [2011-02-03 13:09:11] cyberdisyan at gmail dot com I experienced the same bug, and it took's me one week to understand why my all of my session variables was destroyed into our application. BUT the strangest think is that the session_id is still good. Anyway as asanoki said a Warning notice should be usefull Thanks ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at https://bugs.php.net/bug.php?id=51127 -- Edit this bug report at https://bugs.php.net/bug.php?id=51127&edit=1