Re: Stopping objects from auto-serializing

From: Date: Wed, 31 Oct 2007 07:25:28 +0000
Subject: Re: Stopping objects from auto-serializing
References: 1 2 3 4  Groups: php.general 
Request: Send a blank email to php-general+get-263841@lists.php.net to get a copy of this message
On 31 Oct 2007, at 16:16, Jochem Maas wrote:
are you using session_register()? (dont) also are you setting the value in $_SESSION by reference?
No and no. The only time I'm writing to $_SESSION["basket"] is by setting $_SESSION["basket"][] = "foo", I'm never touching the actual $_SESSION["basket"] variable as such, but which is exactly what's happening.

« previous php.general (#263841) next »