Re: Re: superglobal var names can't access object methods?

From: Date: Tue, 16 Apr 2002 21:06:39 +0000
Subject: Re: Re: superglobal var names can't access object methods?
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-93256@lists.php.net to get a copy of this message
On Tuesday, April 16, 2002, at 04:08 PM, Uchendu Nwachukwu wrote:
I may be wrong on this one, and someone please correct me if I am, but I believe you can't store objects in a session variable. That might be the problem.
So then I should store the objects in a regular variable, and then when I need to put it into a session, serialize() it and put it into a session then? Okay, I will do that for now, but if anyone knows otherwise (whether or not session variables ($_SESSION['var']) can be references to objects), please speak up, as I will be able to take some lines out of my code if I can avoid this. Erik ---- Erik Price Web Developer Temp Media Lab, H.H. Brown pricee@hhbrown.com

« previous php.general (#93256) next »