How Cookies Work on Internet?


Share post:

How does your Facebook account automatically log in whenever you use it in Browser?

How does the internet know about what you search on Amazon, Flipkart, or whatever on E-commerce? whatever you search on Amazon, the products appear on websites you visit in your browser. who behinds all these?

Perhaps you heard Cookies but don’t know how cookies work? Right.

This all happened due to Cookies files, These questions might need to know how it is possible, how cookies work too. In the following blog, I’ll teach you How Cookies Work? Without labouring to find it.

Are you ready for an excursion into that topic? Let’s get started.

First thing first, I want to let you know all these are happening due to cookies files, stored in our browser while we are browsing. They can also be used to remember what we input the information (names, addresses, passwords) in the form field on websites. Although the website owner can’t access information.

Read Also #1. Types of Malware? | Malware on Android


Cookies aren’t what you are thinking of in your mind.

Well, they are intangible files created by websites that you visit rather than food. It makes your online experience easier.

With cookies,

  • sites can keep you signed in,
  • remember the site preferences
  • you’ll get locally relevant content

Additionally, Your browser also opens the website fast as well.

Almost all E-Commerce websites use cookies to keep track of the items in a user’s shopping cart as they explore the site. Without cookies, your shopping cart would reset to zero every time you clicked a new link on the site.  That would make it impossible to buy anything online!

Use of Cookies

Without cookies, websites would take time to open as when you visit for the first time and take more data too. Hence, Cookies store information from the first session on a website or session of a related website without having to burden a server or website hosting services.

Storing the data on the server without using cookies would also be problematic because it would be difficult to retrieve a particular user’s information without requiring a login on each visit to the website. If you have low data, you would be open a website without delay as well.

How Cookies Work? 

You arrive on the main part of the blog — How cookies work? The first time you visit a website (say Life is Aware), the website sends the cookie file to your computer. The PC stores it in a file located inside your web browser.

Whenever you visit again, your browser would send the information contained name-value pairs along with the URL in that cookie back to you. Afterward, the Life is Aware Web server receives the cookie data and the request for a page. If no name-value pairs are received, the server finds, you have not visited before.

 It cannot look at any other cookie, nor anything else on your device. It will help to provide data (for instance images, javascript of the website, etc) with taking less time and less internet usage too.

When you visit some sites, the server gives you a cookie that acts as your I-card, but not hanging on your neck. Upon each return visit to that site, your browser passes that cookie back to the server. In this way, a web server can gather information about which web pages are used the most, and which pages are gathering the most repeat hits. Google Analytics works on the same principle

Before we walk on “Use of Cookies”, you need to know about the Analytics tool because you could be scratching your head. Let’s jump over the Google Analytics tool. The tool helps to analyze website traffic by using the tracking code on the website. 

How Google Analytics Uses Cookies?

Google Analytics is implemented on the website by Analytics Tracking Code. It is solely of JavaScript code that the website owner adds on his website. The tracking code runs in your browser when you browse the page, it would be collecting data and sends it to a Google data collection server. So that it helps the website owner to find out where the traffic comes from as well as to measure how users interact.

Analytics uses cookies to identify unique users across browsing sessions. This page explains how to customize cookie settings. I think it is enough about how cookies work for Google analytics.

Types of cookies:

  • First-party cookies: They are received from a directly visited website.
  • Third-party Cookies:  are received from third parties (web servers that haven’t been directly visited). They’re linked to ads on that page. This sort of cookie typically appears when web pages feature content from external websites.
  • Session Cookies are temporary cookies deleted when you exit from the browser. It is not used for tracking long information.

Are Cookies bad?

However, some viruses and malware may be disguised as cookies. But your browser handles it. A “zombie cookie” is a cookie that recreates itself after being deleted, it is tough to manage zombie cookies.

Third-party tracking cookies can also cause security concerns since they make it easier for parties you can’t identify to watch where you are going and what you are doing online.

How to Clear cookies :

If you remove cookies, you’ll be signed out of websites and your saved preferences could be deleted.

For Windows
  • On your Computer, open Chrome.
  • At the top, you’ll see a Lock Icon in the address bar, click on it.

How Cookies Works

  • Under ‘Lock icon’, you get Certificate, Cookies and Site Settings options.

How to Reset Cookies

  • Click the “Cookies” option and then See all cookies by clicking

How to Reset Cookies

  •  Remove it one by one. Then click on the Done button.
For Android Devices 

Steps are:

  • Click “Lock Icon” as in the image below

How to Reset Cookies

  • Next, Click on Site Settings

how cookies works

  • You get the option as mentioned below

How to Reset Cookies

  • Click Clear & Reset Button

When you delete the cookies, the website will be functioning as the first time you visited. It might be delayed in opening. It deletes all data you filled in. For instance Form fields, site notification, pop-up windows, etc.  

Shubham Nema
Shubham Nema
Shubham Nema, the visionary behind, has a deep passion for learning and a genuine curiosity about the world. With his expertise in health, nutrition, and technology, he strives to offer well-researched content that helps readers make informed decisions and live a healthier, more fulfilling life.


  1. Usually, I don’t read posts on blogs, but I wish to say that this write-up very forced me to try and do so!

  2. Hello 🙂 Your method of describing the whole thing in this paragraph is genuinely fastidious, everyone is able to simply be aware of it, Thanks a lot.

  3. Pretty component of content. I just stumbled upon your weblog and in accession capital to claim that I acquire actually loved account for your weblog posts. Anyway, I’ll be subscribing to your augment and even I success you get admission consistently quickly.

  4. Hi! This is kind of off topic but I need some advice from an established blog.
    Is it very difficult to set up your own blog? I’m not very technical but I can figure things out pretty fast. I’m thinking about setting up my own but I’m not sure where to start.

    Do you have any points or suggestions? With thanks

  5. Hi there Dear, are you truly visiting this web site regularly, if so after that
    you will definitely obtain fastidious knowledge.

Leave a reply

Please enter your comment!
Please enter your name here

Related articles

A Beginner’s Guide to NFTs: What You Need to Know

The popularity of NFTs has skyrocketed globally over the past 3 years, with global NFT transaction value growth...

How to Choose a Web Hosting?

Choosing the right web host for your site is crucial. The wrong choice could lead to downtime, security...

Creating an Autism-Friendly Home: Complete Guide for Parents

In the journey of parenting a child with autism, one of the most significant contributions you can make...

Lifestyle Changes for Coping with Depression

Depression is a serious mental health condition that affects millions of people worldwide. It can lead to feelings...