Essentially, a cookie is a small section of computer code (transmitted as text) that a website sends to a visitor’s browser that is then downloaded and stored. Perhaps the easiest way to think of it is like handing out name tags to people at a conference. The name tag (cookie) allows the organizers (the website) to keep track of the attendees.
That being said, cookies have evolved to do many more things than simply improve the experience of visiting a website. For instance, some cookies now linger and continue to record information about your browsing even after you leave the website that sent the cookie and visit an unrelated website. And some cookies are designed to monitor your activities in order to build a profile about you in order to target you for advertising.
That being said, not all cookies are the same. Some cookies expire after a specified period of time. In other instances, cookies remain permanent until you take steps to delete them. And some cookies are automatically deleted when you close the browser application. All modern browsers allow you to access analytical information to display which cookies are currently installed and active and delete them, if you wish, in a procedure known as “clearing” cookies.
Clearing Cookies On Chrome
Clearing Cookies On Safari
For the Safari browser, click on “Preferences” from the main menu and then navigate to the “Privacy” tab.” From there, you’ll be given the option to “Remove all Website Data” where you can select which data you want to remove, including installed cookies.
Clearing Cookies On Firefox
For the Firefox browser, click on the main menu and then select “Preferences.” From there, select “Privacy and Security” where you’ll be given the option to clear cookies. You’ll also see how much storage the cookies (along with other site data such as the cache) is taking on your computer.
All modern web browsers will allow you to choose how and if you want to accept cookies in the future. For instance, you can choose to never allow cookies, to automatically allow all cookies, or have the browser prompt you each time you visit a website to determine whether or not you want a cookie from that website installed on your computer.
Note: Browsers with a private/incognito mode automatically turn off all cookie acceptance and use. If you want a one-time browsing session without using any cookies and also without having to change your browser’s settings, you can use incognito/private mode. This is particularly useful if you access the internet via Wi-Fi from outside your home/school/office network as it is possible, in some circumstances, for access providers to intercept and read cookies.
Technically, the cookies discussed in this article are known as either “browser cookies” or “internet cookies.” This is because the term “cookie” was originally coined by Lou Montulli in 1994, a UNIX programmer who was familiar with the term “magic cookie.” In the UNIX programming language, “magic cookies” are small sections of code sent and returned by a computer that are unchanged in transit.
The term “magic cookies” originated in 1979 by programmers in the C programming language as a kind of token or “ticket number” to track data exchanges between two entities. The “magic cookie” was similar to a ticket or coat check token given out in order to distinguish and chronologically track interactions between two entities. No one is quite sure why the term “magic cookie” was chosen for this purpose, but the similarity between a magic cookie’s functionality and the browser cookie’s (known just as “cookies” by most people today) was where the name cookie came. But no one is quite sure why the term “magic cookie” was first chosen.
There are also flash cookies (used in a similar fashion by websites that use Adobe’s Flash) to store user data and “signal cookies” which are used to prevent malefactors from illegally accessing computer networks by a technique called “Sigreturn-oriented programming” or SROP. Similar to (browser) cookies, signal cookies are used as authentication tokens in order to verify data exchanges.
The very first (browser) cookie appeared with the launch of the Netscape browser in 1994. Cookies became a widespread aspect of internet browsing when Microsoft’s Internet Explorer began using cookies in 1995. In 1998, Montulli, the programmer who invented the term “cookie” (referring to browser cookies) successfully patented the concept.
In 2016, Google created something called the “same-site cookie,” which differs from regular cookies because it can only track user activity and information on the same website that issued the cookie. This was designed as a way to improve security and stop cookies from tracking activity (or initiating harmful actions) after a user leaves a website.
When you visit a website (and your browser is set to accept cookies), it’s important to keep in mind that your browser might actually be installing several different cookies at once. The website itself might be installing a cookie (called a “first-party” cookie) while advertising banners or other third-party data displayed on the website is installing their own cookies (called, naturally enough, “third-party” cookies). There have been documented cases of some websites installing as many as 800 cookies on a user’s computer during a single visit.
Note: Most modern browsers allow the option for automatically blocking (refusing) third-party cookies while still accepting first-party cookies.
Interestingly enough, despite their ubiquity as part of the modern web browsing experience on the internet, there are no fixed requirements for what a cookie is or how it needs to be formatted. Each website or developer can design cookies to their own needs, and some cookies are constantly being updated with every action performed by the user.