Re: Auth: two instances on the same page

From: Date: Thu, 20 Nov 2003 14:04:09 +0000
Subject: Re: Auth: two instances on the same page
References: 1  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-9063@lists.php.net to get a copy of this message
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

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