ID: 45706 Updated by: [EMAIL PROTECTED] Reported By: bobka at bigfoot dot com Status: Assigned Bug Type: SPL related Operating System: Linux PHP Version: 5.2.6 Assigned To: colder New Comment:
Fixed in CVS HEAD and PHP_5_3. Previous Comments: ------------------------------------------------------------------------ [2008-08-06 16:51:35] bobka at bigfoot dot com Yes, it happens only with classes that extend ArrayIterator ------------------------------------------------------------------------ [2008-08-06 16:46:37] [EMAIL PROTECTED] Does this happen only with the ArrayIterator? ------------------------------------------------------------------------ [2008-08-06 08:45:17] bobka at bigfoot dot com The bug is somewhere in "php" or "php_bin" serialize_handler that is used to serialize _SESSION ------------------------------------------------------------------------ [2008-08-06 08:38:06] bobka at bigfoot dot com To define the class before session_start is the usual case. But if two applications use the same session data, where one part of session data is shared between applications and other are used exclusively, you don't have to include *all* class definitions in each application. In this case the part of session data, that is not defined, should be preserved and not corrupted, shouldn't it? ------------------------------------------------------------------------ [2008-08-04 12:51:07] [EMAIL PROTECTED] The class has to be defined before session_start() call. Documentation for session seems to lack this little note.. ------------------------------------------------------------------------ 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 http://bugs.php.net/45706 -- Edit this bug report at http://bugs.php.net/?id=45706&edit=1