From: Ben C. <php...@be...> - 2002-02-26 14:56:11
|
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 |