A cookie is a preference file written to the user’s computer when they access a website.
Cookies are commonly used to store account information that can be used when the website is revisited at a later date. For example, if the layout or content of a website can be customised, a cookie could be used to ‘remember’ the user’s preferred background colour or news source. Only the website that created the cookie file can use the information it stores.