Skip to content
Skip to content
← All HTTP Headers
Request

Cookie

Sends previously stored cookies from the server back with each request.

Syntax

Cookie: <name>=<value>; <name>=<value>

Example

Cookie: session_id=abc123; user_pref=dark_theme

Description

The Cookie header transmits stored HTTP cookies to the server. Browsers automatically include cookies that match the request's domain, path, and security requirements.

Cookies are set by the server via Set-Cookie and are commonly used for session management, personalisation, and tracking. For security, cookies should use the HttpOnly, Secure, and SameSite attributes.

Check if your website sends this header correctly

Check your headers →

Related Articles

Related Headers