objects in sessions.

From: Date: Wed, 27 Feb 2002 20:35:25 +0000
Subject: objects in sessions.
Groups: php.general 
Request: Send a blank email to php-general+get-86476@lists.php.net to get a copy of this message
If you register an object as a session variable, do you need to include the objects class *before* start_session()? What if I use serialize() on my object, and then register a variable with the serialized data; then I can start_session(), do some other things, then include the class definition, then unserialize()?

« previous php.general (#86476) next »