Re: serialize an object

From: Date: Fri, 20 Apr 2007 15:19:17 +0000
Subject: Re: serialize an object
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-253344@lists.php.net to get a copy of this message
On 4/19/07, Stut <stuttle@gmail.com> wrote:
Tobias Wurst wrote: i use serialize() to save my object in $_SESSION. Why? There's no point in serialising something into $_SESSION. Anything you put in there gets serialised by the session handler.
That isn't necessarily 100% true. http://www.stubbles.org/archives/12-Lazy-loading-of-classes-stored-in-a-session-without-__autoload.html

« previous php.general (#253344) next »