Set-Cookie
The header that stores a cookie, with attributes such as Secure, HttpOnly and SameSite.
Overview
The header that stores a cookie, with attributes such as Secure, HttpOnly and SameSite.
Compression, caching, CORS, cookies and security policy headers.
This term appears across 3 tools in the HTTP / Web category. Use the examples and checks below to see how it behaves in practice.
Where you see it
Access-Control-Allow-Origin, Set-Cookie flags and certain CORS-related headers are not exposed to page JavaScript, so a DevTools panel can look empty while the wire response is complete.
HTTP Header CheckerMultiple Set-Cookie headers must be preserved separately, and a repeated Cache-Control can indicate a proxy joining two values.
HTTP Header Checker
Examples
Example values show how this term appears in practice; run a live check for current values.
| Case | Values | Note |
|---|---|---|
| Session | Set-Cookie: sid=...; HttpOnly; Secure; SameSite=Lax | Value captured at review time. |
| Domain | Domain=example.com | Value captured at review time. |
| Max-Age | Max-Age=3600 | Value captured at review time. |
| Prefix | __Host- requires Secure, Path=/ and no Domain | Value captured at review time. |
How to use it
- Open Cookie Checker and run it against a real target such as https://github.com.
- Compare the raw answer with the definition and the example above; do not rely on the summary alone.
- If the answer differs, use the troubleshooting checks below and confirm with a second source before changing anything.
What to watch for
- Cookie scope is set by Domain, Path, SameSite and Secure; a broad Domain makes Set-Cookie first-party across every subdomain.
- A result applies only to the exact target, configuration and scope you tested; check sibling names, hosts or paths separately.
- A single check shows one target from one environment; confirm Set-Cookie with a second tool, device or source before you change anything.
Why it matters
Compression, caching, CORS, cookies and security policy headers.
3 tools use this term
HTTP / WebWhere to check it
Use Server Fingerprint, HTTP Header Checker, Cookie Checker to inspect it directly. Each tool shows the raw result and its limitations.
HTTP / WebCommon problems and fixes
Two checks disagree: compare timestamps, TTLs, resolver location and client configuration before choosing one.
Tool limitation: read the raw output and confirm with a second tool or vantage point.
Used in these tools
3 toolsStandards and references
Frequently asked questions
What is Set-Cookie?+
The header that stores a cookie, with attributes such as Secure, HttpOnly and SameSite.
How do I check Set-Cookie?+
Use Server Fingerprint, HTTP Header Checker, Cookie Checker to inspect it directly. Each tool shows the raw result and its limitations.
Why does Set-Cookie matter?+
It affects how HTTP / Web results are read. Compression, caching, CORS, cookies and security policy headers.
What is a common mistake?+
Setting cookies too broadly. A Domain=.example.com cookie shares Set-Cookie with every subdomain, including untrusted ones.
How this page is written
Definitions are compiled from the 244 tool pages, checked against the standards below, and reviewed by Steve. Each term links to the tools where it is used.


