Re: OO Theory Question

From: Date: Tue, 17 Aug 2004 19:31:11 +0000
Subject: Re: OO Theory Question
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-194081@lists.php.net to get a copy of this message
I don't know - is it? "Ed Lazor" <Ed.Lazor@d20News.com> wrote in message news:php.general-194077@news.php.net... > > -----Original Message----- > > > 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. > > Playing Devil's Advocate here... > > Why would you want to avoid database calls? If you're using default > sessions management, all you're doing is trading this for accessing files on > the server. Isn't the database faster? > > -Ed

« previous php.general (#194081) next »