protected function getAssoc($handle)
    {
        $oldSession = session_id();
        session_commit();
        session_id($handle);
        session_start();
        $assoc = null;
        if(!empty($_SESSION['assoc'])) {
            $assoc = $_SESSION['assoc'];
        }
        session_commit();
        if($oldSession) {
            session_id($oldSession);
            session_start();
        }
        return $assoc;
    }
protected function getAssoc($handle)
    {
        $oldSession = session_id();
        session_commit();
        session_id($handle);
        session_start();
        $assoc = null;
        if(!empty($_SESSION['assoc'])) {
            $assoc = $_SESSION['assoc'];
        }
        session_commit();
        if($oldSession) {
            session_id($oldSession);
            session_start();
        }
        return $assoc;
    }
protected function getAssoc ( $ handle ) { $ oldSession = session_id ( ) ; session_commit ( ) ; session_id ( $ handle ) ; session_start ( ) ; $ assoc = null ; if ( ! empty ( $ _SESSION [ 'assoc' ] ) ) { $ assoc = $ _SESSION [ 'assoc' ] ; } session_commit ( ) ; if ( $ oldSession ) { session_id ( $ oldSession ) ; session_start ( ) ; } return $ assoc ; }
Retreives association data.
If you want to use php sessions in your provider code, you have to replace it.
@param String $handle Association handle.
@return Array Association data.
Retreives association data . If you want to use php sessions in your provider code you have to replace it .