What is a cookie?
A cookie is a text file no bigger than 4k that a website asks your browser to store on your computer or mobile device. This allows the website to “remember” your actions or preferences over a period of time.
Most browsers support cookies however users can set their browsers to decline them and can also delete them whenever they like.
What are they used for?
• to identify users
• to remember the user’s custom preferences
• to help complete a task without having to re-enter information when browsing from one page to another or when visiting the site again sometime later,
Cookies can also be used for online behavioral target advertising and show adverts relevant to something that the user searched for in the past.
How are they used?
What are the different types of cookies?
A cookie can be classified by its lifespan and the domain to which it belongs. By lifespan, a cookie is either a:
• session cookie which is erased when the user closes the browser or persistent cookie which remains on the user’s computer/device for a pre-defined period of time.
As for the domain to which it belongs, there are either:
• first-party cookies which are set by the web server of the visited page and share the same domain
WHERE TO FIND INFORMATION ABOUT CONTROLLING COOKIES