Re: Re: Liveruser with extended PEAR::Auth classes

From: Date: Tue, 30 Aug 2005 10:55:50 +0000
Subject: Re: Re: Liveruser with extended PEAR::Auth classes
References: 1 2 3 4 5  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-20663@lists.php.net to get a copy of this message
Jeroen Houben wrote:
Lukas Smith wrote:
I understand your confusion. But this is obviously not possible. $auth cannot match === false if its an object and since there is no assignment inbetween. I assume you have multiple auth containers configured so its conceivable that the false occurs in a second iteration over the auth containers. However in that case you should get a var dump like "object, false, false" and not just "object, false"
Yes you are right it does 2 loops (I thought I was going mad - time to start working with a debugger :-) So why the loop then, it must be something with my configuration array, I'm only using one Auth container atm ... Hmm it seems like the configuration is stored in the session (?)
       //loop into auth containers
       $indexes = array_keys($this->authContainers);
       var_dump($indexes);
this displays a second container "db_users" that I was using earlier. I'll kill the session and try again. Jeroen

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