Small bits of information about a user that web servers store on the user's computer using their web browser for later use. The browser may store the cookies and send them back with the next request to the same server. Writing data to a cookie is usually done when a new webpage is loaded.
Also called HTTP cookie, web cookie, Internet cookie, browser cookie.
Authentication cookies are used by web servers to know whether the user is logged in or not, and which account they are logged in with.
Tracking cookies are used as ways to compile long-term records of individuals' browsing histories.
Session cookies also know as in-memory cookies or transient cookies are erased when the user closes the web browser. They are stored in temporary memory and are not retained after the browser is closed. Session cookies do not collect information from the user's computer.