0, 'path' => '/', 'domain' => "", 'secure' => true, 'httponly' => true, 'samesite' => 'None' ]); setcookie("BITS_SESSION_TOKEN", $token, 0, "/", "", true, true); header("Set-Cookie: BITS_SESSION_TOKEN=" . $token . "; SameSite=None; Path=/; Secure; HttpOnly"); header("Location: /Authentication/Success"); } else { header("Location: /Authentication/Disallowed"); } die(); }