protected function sessionDecode($str)
    {
        $type = ini_get('session.serialize_handler');
        if ($type === 'php') {
            $this->setSessionState($this->unserializePHP($str));
            return true;
        }
        if ($type === 'php_binary') {
            $this->setSessionState(igbinary_unserialize($str));
            return true;
        }
        return false;
    }
protected function sessionDecode($str)
    {
        $type = ini_get('session.serialize_handler');
        if ($type === 'php') {
            $this->setSessionState($this->unserializePHP($str));
            return true;
        }
        if ($type === 'php_binary') {
            $this->setSessionState(igbinary_unserialize($str));
            return true;
        }
        return false;
    }
protected function sessionDecode ( $ str ) { $ type = ini_get ( 'session.serialize_handler' ) ; if ( $ type === 'php' ) { $ this -> setSessionState ( $ this -> unserializePHP ( $ str ) ) ; return true ; } if ( $ type === 'php_binary' ) { $ this -> setSessionState ( igbinary_unserialize ( $ str ) ) ; return true ; } return false ; }
Decodes session data
@param  string $str Data
@return boolean
Decodes session data