Classes/Service/CookieService.php
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, '/');
    }
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, '/');
    }
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 , '/' ) ; }
Set the Cookie.

@param $lifetime
Set the Cookie .