setcookie('Pman.timeout', time() + (30*60), time() + (30*60), '/');
}
- return = clone (self::$authUser);
+ return clone (self::$authUser);
}
//var_dump(array(get_class($this),$sesPrefix .'-auth'));
$_SESSION[get_class($this)][$sesPrefix .'-auth'] = serialize((object)$d);
- self::$authUser = $p;
+ $pp = DB_DAtaObject::Factory($this->tableName());
+ $pp->get($this->pid());
+ $pp->autoJoin();
+
+ self::$authUser = $pp;
// ensure it's written so that ajax calls can fetch it..