Re: Liveuser login
Dan Rossi <liveuser-zu2dZaOKXTSc5qR/[email protected]>
| Newsgroups | gmane.comp.php.pear.liveuser |
|---|---|
| Message-ID | <[email protected]> |
On 21/06/2005, at 2:30 AM, Lukas Smith wrote:
> Dan Rossi wrote:
>
>> array(1) { ["ludata"]=> array(3) { ["auth"]=> array(9) {
>> ["handle"]=> string(5) "johnp" ["authUserId"]=> string(2) "30"
>> ["isActive"]=> bool(true) ["loggedIn"]=> bool(true)
>> ["lastLogin"]=> string(0) "" ["currentLogin"]=> int(1119284344)
>> ["ownerGroupId"]=> NULL ["ownerUserId"]=> NULL
>> ["storedExternalValues"]=> NULL } ["auth_name"]=> string(8)
>> "DB_Local" ["perm"]=> bool(true) } }
>> What am i suppose to do with this session data and how do i extract
>> it easily. I'm lookin for the perm_user_id in the session ?
>
> you need to enable the "cache_perm" option.
>
> $conf = array('cache_perm' => true, 'authContainers' => ..,
> 'permContainer' => ..);
> $LU =& LiveUser::factory($conf);
>
cheers dude.