What Are Cookies? And How They Work | Explained for Beginners!

Cookies breakdown 🥠 

 

So chances are you've been browsing the internet and you've seen a notification like this pop up on your screen telling you that this website uses cookies, most of the time you just slap that agree button and go about. Your merry way but you're likely here because you want to know what exactly are cookies and how do they work, well it's not that sweet artery-clogging goodness that grandma whips up in the kitchen, we're talking about website cookies which are more formally called HTTP cookies, so a cookie is a small piece of data from a specific website that is stored on a user's computer, while they're browsing the web and they can have many functions such as keeping track of a user's browsing activity. In order to serve up targeted information such as ads for goods or services, this is why when you're browsing Amazon for a Halloween costume for your kid, you might see ads for more kid costumes on Facebook, later that day cookies can also have simple functions like remembering your login details for a specific website, such as Facebook so that you can close out of it and then reopen it again later without having to log back in again cookies, can also allow website owners to track exactly, how many unique visitors they're getting to their website, because each cookie has its own unique ID, so if the user visits the same website two or three times in a day, a cookie can allow us to count this as one unique viewer so website owners can collect more accurate data about their website traffic, so where did the cookie come from and how did it get its name.


History of Cookies

Well the first cookie was invented in 1994 by a 24 year old programmer, for Netscape Communications named @Louis Montulli, he was creating an online store for a company, that said that their servers were getting too full from storing each individual users shopping cart data, while they were browsing the store, so Lou is asked to figure out a way to store each user's shopping cart data, on their own computer which would then save server space for the company and saved them money. So he thought back to an old computing token called the magic cookie, which was used to identify when somebody would log into a system by passing a tiny bit of information between the server and their computer. Lu then recreated this concept for web browsing and thus the modern-day cookie was born. Cookies today are still used to identify your computer but now they have the added function of also tracking your activity, which can be very helpful or a breach in privacy depending on, how the website decides to use this information which is why you get that little notification. Whenever you visit a website that uses cookies because they're legally obligated to inform you in their cookie policy of what they use these cookies for.


Now for the age-old questions❓

How does a cookie work?

Well when you visit a website for the first time, let's just say for this example. It's an online store the website puts a cookie on your hard drive that has its own unique identification code, the site then uses this ID to keep track of your session the session being your overall visit on their website, from start to finish. The reason it does this is to keep track of things like which items you put in your shopping cart or which items you looked at, so it can suggest similar items or even save coupon codes for you, that can be used later even if you close out of the website and come back to it and they have many more functions. Than this but this is just some of the most common ways now a cookie is only specific to that website, meaning that they can't track you on a totally different website or can they well there's another type of cookie called a third-party cookie.


What is third-party cookie?

Let me explain with an example let's say that you're browsing around a website that has a button to like or share on facebook and bet it into it well this button has to talk to facebook.com, which means that Facebook can now send their own cookies through this website in order to track your activity and then most likely serve up some targeted ads for you on your Facebook newsfeed. Later it's stuff like this that push Europe to institute the which is the general data protection regulation, which allows users to opt out of the use of cookies if they. So choose but not all Cook keys are privacy breaching parasites and they will generally help you have a much more enjoyable user experience on the web and save you lots of time and headache alright guys. So that was a breakdown of what our cookies and how do they work. If you enjoyed this post, please share it with your friends or if you want to get more website related questions answered or learned how to create professional and beautiful websites from home then consider subscribing to my blog, you won't be sorry alright guys thank you for reading.

Follow me on YouTube and Telegram for more.

1 Comments

Post a Comment
Previous Post Next Post

Subscribe by Email

Enter your email address:

Delivered by FeedBurner