DEV Community

Discussion on: Explain Me Cookies Like I Am 9

Collapse
 
webdev710 profile image
webdev-710

Are cookies carried to the server when we send normal http request?

Collapse
 
martinromario55 profile image
Martin Romario Ntuwa

The browser sends all non-expired cookies pertaining to the domain in the HTTP header of the HTTP request for the page.

Each cookie is a key/value pair separated by an equals sign, with the pairs separated by semicolons.