Neos\Neos\Controller\LoginController::replaceSessionCookie PHP Method

replaceSessionCookie() protected method

Sets the session cookie to the given identifier, overriding an existing cookie.
protected replaceSessionCookie ( string $sessionIdentifier ) : void
$sessionIdentifier string
return void
    protected function replaceSessionCookie($sessionIdentifier)
    {
        $sessionCookie = new Cookie($this->sessionName, $sessionIdentifier);
        $this->response->setCookie($sessionCookie);
    }