|
From: Ben C. <php...@be...> - 2002-03-20 20:13:41
|
Well, this change clobbered being able to have register_globals = off.
So, I've reworked the authentication stuff to push values directly into
the session array, rather then as an array that's a member of the auth
class. Bang away on it... this functionality should be well tested. :)
On Tue, Feb 26, 2002 at 06:51:44AM -0800, Ben Curtis wrote:
> Yup, feel free to make changes. I'll try to look at it today myself.
> It's benn an experience trying to convert that PHPlib stuff to work
> without register_globals. :)
>
> On Tue, Feb 26, 2002 at 10:10:55AM +0100, Patrick Mairif wrote:
> > this
> > $a =& $HTTP_SESSION_VARS['auth'];
> > $this->auth =& $a->auth;
> > solves the problem for me, but this solution depends on the name of
> > the instance of the class. it must be "auth".
> >
> > I would prefer a solution in which the object is stored and restored
> > where it's declared, outside of the class.
> >
> > sth. like
> > $auth = new uauth; //declaration of the object
> > session_start();
> > session_register("auth"); //restoring the object from the session
> >
> > I didn't had the time this morning to check where it has to be
> > changed, but I would do it this evening or so with your ok, Ben.
> >
> > _______________________________________________
> > phpbt-dev mailing list
> > php...@li...
> > https://lists.sourceforge.net/lists/listinfo/phpbt-dev
>
> _______________________________________________
> phpbt-dev mailing list
> php...@li...
> https://lists.sourceforge.net/lists/listinfo/phpbt-dev
|