Re: OO Theory Question

From: Date: Wed, 18 Aug 2004 17:11:56 +0000
Subject: Re: OO Theory Question
References: 1 2 3 4  Groups: php.general 
Request: Send a blank email to php-general+get-194171@lists.php.net to get a copy of this message
On Wed, 18 Aug 2004 11:03:47 -0300, Ricardo Cezar <hosptalab@wnet.com.br> 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" <Knightking@smempire.org> escreveu na mensagem > news:opscwlcakptktz7n@downstairs... > > > > On Tue, 17 Aug 2004 12:25:42 -0600, Jed R. Brubaker <jrb21398@hotmail.com> > > 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--

« previous php.general (#194171) next »