Re[2]: [PHP] Serializing objects and storing them is sessions [fixed]

From: Date: Sat, 10 Apr 2004 03:39:39 +0000
Subject: Re[2]: [PHP] Serializing objects and storing them is sessions [fixed]
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-183051@lists.php.net to get a copy of this message
Hi, Saturday, April 10, 2004, 10:51:20 AM, you wrote: KH> Apr 9 at 2:49pm, Jason Giangrande wrote: >> Kelly Hallman wrote: >> > Try it without serializing, it works. >> >> After retesting, it seems you are correct. I guess the same bad >> __sleep() code that was causing the object not to unserialize at all was >> also preventing automatic serialization. KH> For some reason, if I include a __sleep() method in an object, PHP KH> segfaults on me...so I couldn't tell you anything about that :) Argh! Is your __sleep() function returning the array required by serialization ? -- regards, Tom

« previous php.general (#183051) next »