logo       

Re: Auth: two instances on the same page: msg#00361

php.pear.general

Subject: Re: Auth: two instances on the same page

On Thu, 20 Nov 2003 11:41:35 +0100, Jeroen Houben wrote:
> Hi Lorenzo,
> I was (am) using different session names, but that doesn't work.
> Logging into $auth1 logs me into $auth2 as well. Any ideas? I'm
> using the latest stable Auth with PHP4.3.4. Could explain how the
> code differentiates between two instances of Auth using the
> session_name() function? Perhaps then I'll understand what I'm
> doing wrong.

Now I see... the latest stable Auth package released has
not the session_name patch applied. You should use
CVS version, it's fairly stable as well, and much improved.
Try asking Yavor when a new official release will come out,
maybe he has still some things to add, I don't know.

> One question about the example you gave below: why do you set the
> sessionName again after you've already passed it through the
> constructor?

please ignore that, it's just a leftover :-)

Best regards,
Lorenzo

--
PEAR General Mailing List (http://pear.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise