Re: Re: get|setAuthData broken in Auth?
| From: | charles kline | Date: | Thu, 15 Apr 2004 18:34:51 +0000 |
| Subject: | Re: Re: get|setAuthData broken in Auth? | ||
| References: | 1 2 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-11871@lists.php.net to get a copy of this message | ||
Cipriano,
Thank you so much for this help. This does indeed work. Am I wrong in thinking I should be able to get access to that data with the getAuthData() method?
$a->getAuthData('field');
- Charles
On Apr 15, 2004, at 10:48 AM, Cipriano Groenendal wrote:
Hi Charles.From the Pear docs it seems that I should have access to additional fields in my table by specifying them in the $optional array as "dbFields"=>"*" and getting them with $a->getAuthData('fieldname')I added the following items to my $optional array: "db_fields" => "*", "sessionName" => "supportCust", I was then able to access the data via $_SESSION['supportCust']['data'][<fieldname>]; Cipri -- PEAR General Mailing List (http://pear.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php