🍪Cookies🍪

Suraj Panker
3 min readAug 8, 2020

Cookies are a very interesting topic so what I found to write for the article. I have been eating cookies since childhood, some cookies are crispy or some are tasty like parle g. But when we talk about the world of the internet or web site sometime we see a popout notification that “Please accept cookies”.I know many of you know but I want to help others to understand cookies.

Cookies are small files that are stored on a user’s computer. They are designed to hold a modest amount of data specific to a particular client and website and can be accessed either by the web server or the client computer. This allows the server to deliver a page tailored to a particular user, or the page itself can contain some script which is aware of the data in the cookie and so is able to carry information from one visit to the website (or related site) to the next.

What are cookies? Cookies are messages that a web server sends to your web browser when you visit a website. Your browser stores each message in a small file called cookie.txt.When you request another page from the server ,Now your browser sends the cookie back to the server ,as well as information that contains your name and interests.

😲 A cookie is an allusion to a Unix program called Fortune cookie that produces a different message , each time runs.

💡Examples of cookies:- Cookies are most commonly used to track website activity. When you visit some site, the webserver gives you a cookie that acts as an identification card. When we return visit to that site , your browser sends back that cookie to the server, In this way, the web server can gather information about which web pages are used the most and which web pages are gathering most repeat hits.

Everybody does shopping online like amazon , Flipkart, etc. These online stores often use a cookie that contains a record of your personal data as well as items in your cart so that you do not need to re-enter this information each time when you visit the site.

Servers can use cookies to provide personalized web pages. When you select preferences at a site that uses this option, the server places the information in a cookie. When you return, the server uses the information in the cookie to create a customized page for you

🔒Security concerns:

Only the website that creates a cookie can read it, so other servers do not have access to your information. Additionally, web servers can use only information that you provide or the choices that you make while visiting the website as content in cookies.

Webmasters have always been able to track access to their sites, but cookies make it easier to do so.

In some cases, cookies come not from the site you’re visiting, but from advertising companies that manage the banner ads for a set of sites (such as DoubleClick.com). These advertising companies can develop detailed profiles of the people who select ads across their customers’ sites.

😃Accepting a cookie does not give server access to your computer or any of your personal information (except for any information that you may have purposely given, as with online shopping).

Also,😃 it is not possible to execute code from a cookie, and not possible to use a cookie to deliver a virus.

Viewing and controlling cookies:

For privacy reasons, you may wish to view the cookies currently stored in your browser or control which sites you accept cookies from. You may also decide how long they may be stored and used. Most modern browsers offer the ability to control cookie settings; consult your browser’s help files, and see:

😃thank you for reading…

--

--