Re: OO Theory Question

From: Date: Wed, 18 Aug 2004 01:06:00 +0000
Subject: Re: OO Theory Question
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-194114@lists.php.net to get a copy of this message
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. -- Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/

« previous php.general (#194114) next »