A cookie is a small piece of information left by a website on a visitor's computer by a website, via a web browser.
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
.
Learn more
General Knowledge
- HTTP cookie on Wikipedia