A cookie is a piece of information that a web server sends to a web browser when the browser visits the server’s website. The cookie is stored on the user’s computer by the browser. When the user visits the same website again, the browser sends the cookie back to the server, and the server uses the information contained in the cookie to customize the web page that the user sees.
Cookies can be used for a variety of purposes. For example, a web server might use a cookie to keep track of the user’s login name or password, so that …