Skip to content
TrySitePrice

Cookie security checker

Every Set-Cookie on every hop of the redirect chain, graded against the rules a browser enforces by silently dropping the cookie. Values are judged, not just presence — and the hop a cookie was set on is part of the verdict.

We walk the redirect chain and read Set-Cookie on every hop, because the hop's scheme decides whether a Secure cookie is stored at all.

Questions about cookie attributes

01Why does a cookie problem look like a logged-out user?

Because the rules are enforced by dropping the cookie, not by raising an error. A browser that refuses a Set-Cookie prints nothing the server can see and nothing the user can read; the next request simply arrives without a session. That is why these checks are worth running on a login flow specifically.

02Why does the tool report cookies per hop?

Because the hop decides the verdict. A cookie carrying Secure that is set on a plain-HTTP hop is ignored entirely — the specification says that if the request-uri does not denote a secure connection and the cookie’s secure-only-flag is true, the user agent aborts and ignores the cookie. A login that sets its session cookie before the redirect to HTTPS loses it, and a tool that only reads the final response never sees why.

03What happens with SameSite=None?

It requires Secure. The specification is explicit: if the cookie’s same-site-flag is None, the user agent aborts and ignores the cookie entirely unless the cookie’s secure-only-flag is true. So SameSite=None on its own is not a looser setting, it is a dropped cookie.

04What if SameSite has a value I made up?

It is treated as Lax. A value other than the three known keywords is subject to a default enforcement mode that is equivalent to Lax, so SameSite=none misspelled or SameSite=cross-site quietly becomes the stricter behaviour rather than an error. The page shows both what you wrote and what takes effect.

05What do the __Host- and __Secure- prefixes do?

They make the browser enforce conditions the server would otherwise have to be trusted on. __Secure- requires the Secure attribute. __Host- requires that the cookie will have been set with a Secure attribute, a Path attribute with a value of /, and no Domain attribute — which pins it to that exact host and nothing below it. A cookie whose name claims a prefix it does not satisfy is rejected outright.

06I set both Max-Age and Expires. Which wins?

Max-Age. The specification says that if a cookie has both the Max-Age and the Expires attribute, the Max-Age attribute has precedence and controls the expiration date of the cookie. The Expires value is then decoration, which is worth knowing when the two disagree and you are debugging why a session ends early.

07Why is Partitioned shown but not graded?

Because it is not in the attribute grammar the specification this page cites defines — that grammar lists Expires, Max-Age, Domain, Path, Secure, HttpOnly and SameSite, and everything else is parsed as an extension. Partitioned is real and browsers act on it, but grading it would mean grading against a document this tool has not read, so it is reported where it appears and left alone.

08Which specification is this checked against?

The IETF cookies draft that would obsolete RFC 6265, read at a dated revision which the result names. This matters: SameSite and the cookie name prefixes exist only in that draft, and RFC 6265 from 2011 contains neither. There is no published-RFC wording to quote for them, and this page says which document each finding came from rather than implying there is.

Related checks

Set-Cookie is the one security-relevant response header that the HTTP header checker leaves alone, so the two pages cover the whole response between them. Whether the chain reached HTTPS in the first place is the TLS checker’s question, and the certificate behind it is the SSL checker’s.