A cookie is a mechanism for storing information on a user’s computer when they visit webpages. By storing this information, it is possible for the website to appear to remember the user between webpages. The most common uses for cookies are:
- User tracking (e.g. for Analytics)
- E-commerce / shopping baskets
- Recognising a user when they return to a site
There are means of accomplishing most of these things without cookies, however generally they have proven the most popular and by far the easiest means of implementing them.