Nette\Http\Session::sendCookie PHP Method

sendCookie() private method

Sends the session cookies.
private sendCookie ( ) : void
return void
    private function sendCookie()
    {
        $cookie = $this->getCookieParameters();
        $this->response->setCookie(session_name(), session_id(), $cookie['lifetime'] ? $cookie['lifetime'] + time() : 0, $cookie['path'], $cookie['domain'], $cookie['secure'], $cookie['httponly']);
    }