Cookies may be classified according to their life cycle as follows:
Session cookies: session cookies are placed on the computer during a website browsing session and are removed when the user leaves the website and closes the browser. The cookie is stored in the computer’s temporary memory. Session cookies allow a website to follow you as a user moving through the website from one page to another.
Websites have no memory of their own, but use cookies for this purpose.
A useful comparison is to think of these cookies as keys. When your computer already has the key, the website can let you in immediately instead of treating you as a new visitor each time a page is viewed.
This type of cookie is not stored persistently on the user’s device and is deleted when the browser is closed.
Persistent cookies: persistent cookies are placed on the computer for a longer period of time. They are removed only after the cookie’s expiry period has elapsed or when the user removes them. This means that, throughout the cookie’s lifetime, its information will be transmitted to the server each time the user visits the website, or each time the user views a resource belonging to that website from another website (for example, an advertisement).
Since this type of cookie remains on the computer for a longer period than session cookies, persistent cookies may be used for multiple purposes, such as storing login details and remembering your preferences or settings. Persistent cookies are mainly used to monitor visitors as they browse a website in order to ‘see’ what the visitor likes, so that the visitor’s user experience may be improved.
Cookies may be classified according to their source as follows:
First-party cookies (that is, issued directly by the Data Controller): cookies sent directly to the browser by the website being visited and managed directly by the owner and/or operator of the website.
Third-party cookies (that is, issued directly by third parties offering services functional to the proper use of the website): third-party cookies belong to domains other than the one displayed in the address bar. These types of cookies generally appear when web pages contain content, such as advertising banners, from external websites. This entails the possibility of monitoring the user’s browsing history and is often used by advertisers in an attempt to serve relevant and personalised advertisements to each user.
According to their use/purpose:
Technical cookies: these are used for browsing, as they are functionally necessary for scrolling through pages, consulting content and providing the service, and to facilitate the user’s access to and use of the website.
Statistical cookies: these are used to optimise the website directly by the website owner, who may collect information in aggregate form concerning the number of users and how they visit the website.
Preference storage cookies (also known as functional cookies): these cookies are useful for promoting the user’s effective use of the website and thereby facilitating a personalised browsing experience.
Marketing and profiling cookies (advertising cookies): these cookies are used to infer a user’s browsing ‘profile’ so that advertising messages consistent with the user’s behaviour and interests on the internet may be presented.
Social network cookies: these cookies allow social networks, such as Facebook, to identify their users and collect information even while those users browse other websites.