Auth and getAuthData()
| From: | Alan Schildt | Date: | Wed, 28 May 2003 16:19:54 +0000 |
| Subject: | Auth and getAuthData() | ||
| Groups: | php.pear.general | ||
| Request: | Send a blank email to pear-general+get-5660@lists.php.net to get a copy of this message | ||
Hello!
I have just recently upgraded from Auth1.1.1 to Auth1.2.0 and have noticed
that in a script of mine I don't seem to be able to use the getAuthData()
as I did before.
The setAuthData() works the same as in the earlier version - the
information is visible in the session file but if I use the following
'sample' code I get a total blank:
$myAuth->setAuthData($data='admin');
-
-
echo $myAuth->getAuthData($data); // prints admin with ver. 1.1.1
(I tried echo $_SESSION['auth']['data']; and that works ok.)
I have been through the Archives and Change Logs but cannot find anything
that helps. I would appreciate any pointers regarding what I need to adjust
or how I should get a hold of this info using Auth. Many thanks in advance.
(Win98SE/PHP4.2.2Apache1.3.9)
Alan Schildt