Another 0.16.3 BC-Break and upgrade issue :: $_SESSION

"Jan Bolmeson" <[email protected]> Sat, 13 Aug 2005 18:56:01 +0200
Newsgroups gmane.comp.php.pear.liveuser
Message-ID <[email protected]>
Maybe common knowledge but it took me a while to find out:

Another notice that didn't work after my upgrade was that array structure
created in $_SESSION is changed. I know that supposedly one should use LUs
properties, but if Lukas and others excuse - sometimes I have found it
necessary to do direct accesses. What previously was:

array(2) {
    ludata      => &array(4) {
        auth      => array(9) {
            handle               => string(6) madwax
            authUserId           => string(32) blabla
            isActive             => bool true
            loggedIn             => bool true
            storedExternalValues => NULL
        }
        auth_name => string(2) DB
        perm      => bool true
        idle      => int 1123952040
    }
}


Now is: NOTE THE EXTRA KEY  "propertyValues"!!!!!

Array{
	ludata      => array(4) {
        auth      => array(3) {
            propertyValues => array(4) {
                auth_user_id => string(32) 8ca795cab0f1c244cc78fffd3387013d
                handle       => string(6) madwax
                passwd       => string(32) f3bfc29c228b806b6a03513f5c7c149b
                isactive     => string(1) 1
            }
            loggedIn       => bool true
            currentLogin   => int 1123951855
        }
        auth_name => string(2) DB
        perm      => bool true
        idle      => int 1123952097
    }

Regards,
Jan