In order to unmask exactly what cookies are, it´s important first to distinguish between what’s a server computer and a client computer.
The client computer is the computer that we are using to access the site.
It’s also important to notice that each time we access a website, this connection, is a new connection in the eyes of the server computer, no matter how many we had visited that same site before.
That is, in a very simplistic way, whenever our computer asks a server to show a page/site, this connection/request is always new and independent of the previous connections.
This is one of the definition pillars of the web http protocol, which supports the web.
In other words, the h
In this way, when we go back to visit the same website, in the eyes of the server computer, it’s as if we are there for the first time and
Let’s imagine a scenario:
We go to an international e-commerce site and abandon the site in the middle of the process of buying a product.
Later when we go back to the site, we are able to continue the process of buying the intended product exactly where we left.
In addition, the site also remembers which navigation language was choosen.
But how is this possible if the connections to the site server computer are stateless?
This is where cookies come in!
What actually happened when you visited the online shop for the first time was that the server sent a small file to your computer that was housed in your web browser.
Thanks to this cookie, you can be recognized the next time you visit this same site through the server, and you will not have to enter all your details again.
In a nutshell, cookies customize and speed up your web experience.
Advantages and disadvantages of cookies
On one hand, we love cookies since they ease our navigation and allow us to be recognized much faster on different websites.
Cookies are therefore data packets sent by a site to the user’s browser /computer when the user visits the site
Thus cookies allow websites/servers to remember user information such as saved passwords, items
This way the navigation is much easier and efficient.
So each time the user visits the site again, the browser/ computer sends the cookie back to the server to notify the user’s activity history on that site.
TYPES OF COOKIES
Session cookies: They expire when we close the browser (or if we are inactive for too long). A good example of this use is when we are on a sales website so that we can continue our browsing without losing the products we have already put on the cart.
Permanent: These persist even after we close the browser.
These are used to remember your passwords and login so you do not have to re-enter them every time you re-enter a website.
Another possible example is to “remember” the server which is your preferred language for viewing the website.
Third-Party Cookies: Unlike usual, these cookies do not originate from the site where the user is located.
Third-party cookies are created by other websites.
Therefore the site that the user is visiting contains content from a third site, such as ads, images, analytical tools, etc …
We are interested in your experience with cookies.
For example: what bothers you about cookies? Do you have any cookies control tools?
If you enjoyed this article do not forget to share 😉