I'm sure that more than once when you enter a website you've heard the famous "accept cookies" message, but what exactly are they and what are they for?
Cookies are part of the measurement methods of websites, they are data fragments that are accumulated in a text file on the computers' hard drive.
This video will help explain:
They are generated by web servers, whose mission is to send cookies to different browsers. Once installed, the browsers return the information collected about user behaviour to the servers, making the user see one information or another in their browser.
First, to recognize the user, that is, if someone enters their name and password on a web page, the next time they access the site they will be automatically recognized without having to identify themselves again.
Another use of cookies is to know the behavior of users, that is, to personalize navigation and offer relevant advertising according to the consumer's behavior.
There are different types but we could highlight two classifications:
The first cookie was created by programmer Lou Montulli in 1994, then a developer at Netscape Communications.
The developer's task was to make it possible for e-commerce users to keep the shopping cart filled with the same objects while browsing.
In addition, Montulli had to do this using technology that did not use a lot of server resources. This is why the cookie is a text file installed on the user's computer.