Re: SESSIONS: store an OBJECT in php4 sessions?

From: Date: Thu, 16 Nov 2000 17:57:24 +0000
Subject: Re: SESSIONS: store an OBJECT in php4 sessions?
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-25746@lists.php.net to get a copy of this message
AFAIK, you can't store an object in a session (or in shared memory, I'd guess as well). You can store parts of the object - that data for a particular instance of an object. But again, AFAIK, you can't store the *definition* of the object anywhere except as PHP source code. I'd love to be proved wrong on this tho. Derek Sivers wrote: > ...If so, HOW would you do it, as it applies to a shopping cart? > Any pointers to a tutorial about it anywhere? > > (( I'm a beginner to sessions. I know the basics. But I don't know how an > "object" is stored & can't find any tutorial on it. )) > > Thanks! > > Derek Sivers > list@hitmedia.com > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net > For additional commands, e-mail: php-general-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net -- ========================== Michael Kimsal http://www.tapinternet.com PHP Training courses http://www.tapinternet.com/php

« previous php.general (#25746) next »