Skip to main content Skip to docs navigation

A cookie is a small piece of information left on a visitor's computer by a website, via a web browser.

On this page

Cookie

Cookies are used to personalize a user's web experience with a website. It may contain the user's preferences or inputs when accessing that website. A user can customize their web browser to accept, reject, or delete cookies.

Cookies can be set and modified at the server level using the Set-Cookie HTTP header , or with JavaScript using document.cookie .

See also

Updated on April 20, 2024 by Datarist.