Neos.Neos/Classes/Controller/LoginController.php
protected function replaceSessionCookie($sessionIdentifier)
    {
        $sessionCookie = new Cookie($this->sessionName, $sessionIdentifier);
        $this->response->setCookie($sessionCookie);
    }
protected function replaceSessionCookie($sessionIdentifier)
    {
        $sessionCookie = new Cookie($this->sessionName, $sessionIdentifier);
        $this->response->setCookie($sessionCookie);
    }
protected function replaceSessionCookie ( $ sessionIdentifier ) { $ sessionCookie = new Cookie ( $ this -> sessionName , $ sessionIdentifier ) ; $ this -> response -> setCookie ( $ sessionCookie ) ; }
Sets the session cookie to the given identifier, overriding an existing cookie.

@param string $sessionIdentifier
@return void
Sets the session cookie to the given identifier overriding an existing cookie .