Re: OO Theory Question
| From: | Ricardo Cezar | Date: | Wed, 18 Aug 2004 14:03:47 +0000 |
| Subject: | Re: OO Theory Question | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-194149@lists.php.net to get a copy of this message | ||
Probably its a dumb question, but Im new to OO Programming, so...
How can I store the instance of the class in the session????
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.