Re: OO Theory Question

From: Date: Wed, 18 Aug 2004 13:26:48 +0000
Subject: Re: OO Theory Question
References: 1 2 3 4  Groups: php.general 
Request: Send a blank email to php-general+get-194152@lists.php.net to get a copy of this message
"Ricardo Cezar" <hosptalab@wnet.com.br> wrote in message news:20040818130141.88317.qmail@pb1.pair.com... > Probably it’s a dumb question, but I’m new to OO Programming, so... > > How can I store the instance of the class in the session???? > > Thanks, > Rics That's no different to storing any other variable into the session: $_SESSION['object'] =& $object; (You don't need the ampersand in PHP5.) Regards, Torsten Roehr

« previous php.general (#194152) next »