Re: [patch] Auth.php clobbers 'auth' session var
| From: | James E. Flemer | Date: | Mon, 29 Jul 2002 19:27:49 +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-8076@lists.php.net to get a copy of this message | ||
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
>