Re: Auth - Tutorial + Test script problem

From: Date: Wed, 07 Sep 2005 21:45:16 +0000
Subject: Re: Auth - Tutorial + Test script problem
References: 1  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-20851@lists.php.net to get a copy of this message
On 9/7/05, Anthony May <pear@dinersedge.co.nz> wrote: > I have two questions, firstly is there anywhere on the net with a good > introduction to auth other than the pear documentation itself? I have read > the manual and trawled the source but it's easy to get lost and hard to work > out whats going on since I'm just getting aquainted with the package. > > Secondly, I have set up the demo auth script that's in the documentation, I > created the database table and populated it with a username and password to > check against, I set up the dsn string with the correct values. But it just > keeps complaining I haven't logged on, anyone else come across this? > Are you doing a session_start() before you try to use it? I had this problem a while ago and it took me a few days to figure out that Auth wasn't starting the session before trying to use it.... -- Justin Patrin

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