protected function setAssoc($handle, $assoc)
    {
        $oldSession = session_id();
        session_commit();
        session_id($assoc['handle']);
        session_start();
        $_SESSION['assoc'] = $assoc;
        session_commit();
        if($oldSession) {
            session_id($oldSession);
            session_start();
        }
    }
protected function setAssoc($handle, $assoc)
    {
        $oldSession = session_id();
        session_commit();
        session_id($assoc['handle']);
        session_start();
        $_SESSION['assoc'] = $assoc;
        session_commit();
        if($oldSession) {
            session_id($oldSession);
            session_start();
        }
    }
protected function setAssoc ( $ handle , $ assoc ) { $ oldSession = session_id ( ) ; session_commit ( ) ; session_id ( $ assoc [ 'handle' ] ) ; session_start ( ) ; $ _SESSION [ 'assoc' ] = $ assoc ; session_commit ( ) ; if ( $ oldSession ) { session_id ( $ oldSession ) ; session_start ( ) ; } }
Stores an association.
If you want to use php sessions in your provider code, you have to replace it.
@param String $handle Association handle -- should be used as a key.
@param Array $assoc Association data.
Stores an association . If you want to use php sessions in your provider code you have to replace it .