note 19970 added to language.oop.serialization

From: Date: Sun, 17 Mar 2002 12:00:11 +0000
Subject: note 19970 added to language.oop.serialization
Groups: php.notes 
Request: Send a blank email to php-notes+get-27873@lists.php.net to get a copy of this message
PHP.INI FILE AND SESSION.AUTO_START Set session.auto_start = 0 in php.ini file if you want that all works well during serialization/unserialization. If session.auto_start is set to 1 all class definition is loaded after unserialization process, infact you obtain a messagge error like this "The script tried to execute a method or access a property of an incomplete object. Please ensure that the class definition className of the object you are trying to operate on was loaded _before_ the session was started in scriptFile on line n" -- http://www.php.net/manual/en/language.oop.serialization.php http://master.php.net/manage/user-notes.php?action=edit+19970 http://master.php.net/manage/user-notes.php?action=delete+19970 http://master.php.net/manage/user-notes.php?action=reject+19970

« previous php.notes (#27873) next »