Re: Liveuser login
Lukas Smith <[email protected]>
| Newsgroups | gmane.comp.php.pear.liveuser |
|---|---|
| Organization | BackendMedia GbR |
| Message-ID | <[email protected]> |
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);
we will clean up the entire caching in the next release .. until then ..
regards,
Lukas Smith
[email protected]
_______________________________
BackendMedia
www.backendmedia.com
[email protected]
Linn Zwoch Smith GbR
Pariser Str. 44
D-10707 Berlin
Tel +49 30 83 22 50 00
Fax +49 30 83 22 50 07