RE: [PEAR] Auth class

From: Date: Fri, 23 Nov 2001 12:49:01 +0000
Subject: RE: [PEAR] Auth class
Groups: php.pear.general 
Request: Send a blank email to pear-general+get-537@lists.php.net to get a copy of this message
> It is quite clever. > First the class checks if a session var is set. If so, this > means that > the user is authentified, then no connection is needed. > If the session var is not found, then it can either open a new > connection or use an already open connection depending on > what parameter > you pass to it. If you pass a dsn, then it connects. If you pass a db > object, then it just uses it. > > And if you use persistent connections, speeds should be better. This > just depends on you application. Well, i don't but i just thought about something, since the auth class is the first one i'm going to call it has to create a connection if the user hasn't authentified. Thanks > Bertrand Mansion > Mamasam >

« previous php.pear.general (#537) next »