"Ricardo Cezar" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > 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 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php