Re: [PHP] Stopping objects from auto-serializing




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.
.