An
HTTP cookie (also called
web cookie,
Internet cookie,
browser cookie or simply
cookie), is a small piece of data sent from a website and stored in the user's
web browser while the user is browsing it. Every time the user loads the website, the browser sends the cookie back to the server to notify the user's previous activity. Cookies were designed to be a reliable mechanism for websites to remember
stateful information (such as items added in the shopping cart in an online store) or to record the user's browsing activity (including clicking particular buttons,
logging in, or recording which pages were visited in the past). Cookies can also store passwords and form content a user has previously entered, such as a credit card number or an address.