/** * Remove the Session Cookie. */ public static function removeSessionCookie() { if (!Session::cookieExists()) { return false; } $options = Session::getCookieOptions(); setCookie(Session::getName(), false, NULL, $options['path'], $options['domain'], $options['secure'], $options['httponly']); }