Why will modern browsers reject this cookie?
Set-Cookie: sid=abc123; SameSite=None; HttpOnly
- HttpOnly needs a Domain set
- SameSite=None needs Secure
- The value is far too short
- It has no Max-Age attribute
Chromium-based browsers and Firefox require any SameSite=None cookie to also carry Secure, so it is only sent over HTTPS; otherwise the cookie is dropped.
Play Cybersecurity ▸