On Wed, 18 Aug 2004 11:03:47 -0300, Ricardo Cezar <[EMAIL PROTECTED]> wrote: > 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???? >
I answered this a long time ago in this thread. Did you not get my mail? > Thanks, > Rics > > "Thomas Goyne" <[EMAIL PROTECTED]> escreveu na mensagem > news:[EMAIL PROTECTED] > > > > On Tue, 17 Aug 2004 12:25:42 -0600, Jed R. Brubaker <[EMAIL PROTECTED]> > > wrote: > > > > > The real reason for having the login class like this is to eliminate > > > database calls. I thought I could have one session variable that said yo > > > uwere logged in, but then the database calls would still have to be made > > > on > > > each page. > > > > > > Thanks for the idea - any others? > > > > > > > > > > Just store the instance of the class in the session. > -- DB_DataObject_FormBuilder - The database at your fingertips http://pear.php.net/package/DB_DataObject_FormBuilder paperCrane --Justin Patrin-- -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php