Re: Auth object

From: Date: Thu, 14 Oct 2004 17:46:21 +0000
Subject: Re: Auth object
References: 1  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-14914@lists.php.net to get a copy of this message
On Thu, 14 Oct 2004 01:24:25 -0300, Eduardo Gargiulo <ejg-php.pear@ar.homelinux.org> wrote: > Hi all > > I'm using Auth 1.3.0r2 beta; the autentication method works right. > > I want to access methods and properties of the Auth object from all the pages of > my web system, because it has all the authentication data. Should I instantiate > the object in every php script? Which is the _right_ way to do that? Where can I > find detailed documentation on using the Auth package? > If you just need the info to be there, I'd suggest putting the object in the session. You could also have the existence of the object in the session mean that the user is authenticated. > thanks in advance > > --ejg > -- paperCrane --Justin Patrin--

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