jargon

Frontend & browser·Storage and platform APIs

the value went out with every single request to that domain, whether it was needed or not.

Cookie

Also calledbrowser cookie, document.cookie

A small piece of data the browser stores and attaches automatically to matching requests. That automatic attachment is the entire difference from other storage: it is what makes cookies work for sessions and what makes them cost bytes on every request. Size limits are small, the attributes controlling scope and security are numerous, and the ones that matter are `HttpOnly`, `Secure` and `SameSite`.

Commonly confused with