|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2002-09-08 11:02 UTC] jflemer@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2026 The PHP GroupAll rights reserved. |
Last updated: Tue Mar 17 19:00:01 2026 UTC |
In the Auth.php file the method setAuthData does not seem to register additional data correctly. I made my own container based on a post from Martin a while ago now. It fetches additionnal info and passes it to the setAuth method. From the last cvs version of Auth.php setAuth now calls setAuthData (which was not the case before). But this new way is not working because my data never gets registered in the session. Here is the incriminated method function setAuthData($data) { if (isset($session['auth']['data'])) { $olddata = $session['auth']['data']; } else { $olddata = null; } $session['auth']['data'] = $data; die(var_dump::display($_SESSION)); return $olddata; } On the die i can see the base auth vars but not the $data ones. I tried setting $session['auth']['data'] = array() in setAuth but i just end up having an empty array. When i do the var_dump on the $data parameter it contains the data i expect. The 1.33 version of Auth.php did not have that problem. Arnaud.