Re: [patch] Auth.php clobbers 'auth' session var

From: Date: Mon, 29 Jul 2002 19:55:17 +0000
Subject: Re: [patch] Auth.php clobbers 'auth' session var
References: 1  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-8077@lists.php.net to get a copy of this message
Done. Now even if $_SESSION['auth'] is an empty array things behave as expected. I also removed the use of $GLOBALS that was missed in revision 1.22 (in updateIdle()) when all the other uses were removed. -James On Mon, 29 Jul 2002, James E. Flemer wrote: > Hold off on this patch ... a few places in Auth.php assume > that if $_SESSION['auth'] is set then some elements of it > are as well. I will send a patch fixing those as well. > -James > > On Mon, 29 Jul 2002, James E. Flemer wrote: > > > Auth.php currently clobbers $_SESSION['auth'] with it's own > > values. This patch makes it be more respectful, thus > > allowing Auth/Container/* to use this variable too to store > > any state it needs to maintain there. This patch maintains > > 100% backwards compatibility (unless someone is *expecting* > > the var to be clobbered!) > > > > -James > > > > >

« previous php.pear.dev (#8077) next »