public function setCookie(int $lifetime)
    {
        $cookieDomain = $this->getCookieDomain();
        if ($cookieDomain) {
            \setcookie(self::FE_COOKIE_NAME, 'typo_user_logged_in', $lifetime, '/', $cookieDomain);

            return;
        }
        \setcookie(self::FE_COOKIE_NAME, 'typo_user_logged_in', $lifetime, '/');
    }