From: Patrick M. <mo...@su...> - 2002-02-26 09:11:00
|
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. |