Cookie header - HTTP | MDN

Syntax

http

Cookie: <cookie-list>
Cookie: name=value
Cookie: name=value; name2=value2; name3=value3

Directives

A list of name-value pairs in the form of <cookie-name>=<cookie-value>. Pairs in the list are separated by a semicolon and a space.

Examples

http

Cookie: PHPSESSID=298zf09hf012fh2; csrftoken=u32t4o3tb3gg43; _gat=1

Specifications

Specification
HTTP State Management Mechanism
# cookie

Browser compatibility

See also

Help improve MDN

Learn how to contribute

This page was last modified on by MDN contributors.