Cookies
Cookies are also known as HTTP cookies
Cookies are a small piece of data from a specific website that is stored on a user's computer while browsing
Functions:-
Tracks user browsing activity - for ads
To remember login details - Example (YouTube, Facebook, and Google)
Track site visitor count
There are three types of cookies:
Session cookies: These temporary cookies are automatically deleted when you close your browser. They are used to store information about your current session, such as items you've added to a shopping cart.
Persistent cookies: These cookies remain on your device even after you close your browser. They are used to remember your preferences and settings for future visits.
Third-party cookies: These cookies are placed on your device by a website other than the one you're currently visiting. They are often used for advertising and tracking purposes.
Good - about Cookies
They can help you save time and help you log in without stress, it can also suggest other products or similar interests.
Bad - about cookies
They can also stalk you if the website wants it is not at all all websites will do but some will.
How does a cookie work?
first, they put cookies in your hard drive that has its own unique identification, then they use this ID to keep track of each session
when they do this they can put your shopping list on your computer rather than their server and when you come back the ID will say what is in your shopping list or what all you looked at