private function __init()
    {
        $this->_session = Session::start($this->_timeout, $this->_path, $this->_domain, $this->_httpOnly, $this->_secure);

        if (!$this->_session) {
            return false;
        }

        if (!isset($_SESSION[$this->_index])) {
            $_SESSION[$this->_index] = array();
        }

        // Class FrontendPage uses $_COOKIE directly (inside it's __buildPage() function), so try to emulate it.
        // @deprecated will be removed in Symphony 3.0.0
        $_COOKIE[$this->_index] = &$_SESSION[$this->_index];

        return $this->_session;
    }
private function __init()
    {
        $this->_session = Session::start($this->_timeout, $this->_path, $this->_domain, $this->_httpOnly, $this->_secure);

        if (!$this->_session) {
            return false;
        }

        if (!isset($_SESSION[$this->_index])) {
            $_SESSION[$this->_index] = array();
        }

        // Class FrontendPage uses $_COOKIE directly (inside it's __buildPage() function), so try to emulate it.
        // @deprecated will be removed in Symphony 3.0.0
        $_COOKIE[$this->_index] = &$_SESSION[$this->_index];

        return $this->_session;
    }
private function __init ( ) { $ this -> _session = Session :: start ( $ this -> _timeout , $ this -> _path , $ this -> _domain , $ this -> _httpOnly , $ this -> _secure ) ; if ( ! $ this -> _session ) { return false ; } if ( ! isset ( $ _SESSION [ $ this -> _index ] ) ) { $ _SESSION [ $ this -> _index ] = array ( ) ; } // Class FrontendPage uses $_COOKIE directly (inside it's __buildPage() function), so try to emulate it. // @deprecated will be removed in Symphony 3.0.0 $ _COOKIE [ $ this -> _index ] = & $ _SESSION [ $ this -> _index ] ; return $ this -> _session ; }
Initialises a new Session instance using this cookie's params

@throws Throwable
@return string|boolean
Initialises a new Session instance using this cookie s params