Skip to content

Cookies

Cookies are small pieces of data stored by the browser. Unlike Web Storage, cookies are automatically sent to the server with every HTTP request.

Cookies are sent with every HTTP request (~4KB limit). Use Secure, SameSite, and HttpOnly flags. Prefer Web Storage for non-authentication data.