Re: Re: Object can not be used after a session

From: Date: Wed, 16 Jul 2003 21:42:27 +0000
Subject: Re: Re: Object can not be used after a session
References: 1 2 3 4  Groups: php.general 
Request: Send a blank email to php-general+get-155495@lists.php.net to get a copy of this message
>Wow thats strange?? I am using PHP 4.3.2 as well and I don't see that >happening where it serializes the object when assigning it to the >$_SESSION. It doesn't do it when you assign it into the $_SESSION array, it does it when the script completes and updated session data is written to the session file. This actually caused me a lot of grief a while back, when scripts were bombing out and session data was being lost - I ended up writing another layer on top of the session that explicitly wrote crucial data at critical junctures, rather than relying on the built-in support. --------------------------------------------------------------------- michal migurski- contact info and pgp key: sf/ca http://mike.teczno.com/contact.html

« previous php.general (#155495) next »