Skip to main content

A Cookie Is Simply Data, Used By A Website

If you're a repeat customer at some restaurants or shops, you may notice that your return status is appreciated by the staff.

Maybe the coffee shop will make your coffee extra strong, or the waiter will bring you your meal a little more promptly, because they recognise you - and want you to know that they appreciate your patronage.

As you surf your favourite blogs and websites, you may notice similar treatment. Being recognised as a return "customer" is frequently flattering, and may encourage you to return yet a third, fourth, ... time.

Out of the millions of Internet "customers", your favourite blog or website recognises you - and makes your visit a little less impersonal. But how does this happen?

Many websites record your visit - and store records of your visits, on your computer.

Your visits are stored, in each browser, on each computer, in tiny files called "cookies". It's such a cute name, for such a serious feature. And it's a feature mistrusted by some countries - now with an automatic Blogger blog banner notice.

Cookies let you login only once - even if returning, repeatedly.

When you publish a comment, on some blogs, you may notice that you are required to login, to post a comment. Returning later, you may not have to login, again.

Cookies let you store comments, as you compose - then login.

You may spend time carefully composing a comment, then hit Publish. For me, that would be multiple instances of "Preview" - "Edit", then finally "Publish".

You may have to login or solve a CAPTCHA, after you click "Publish". For most people, after you login, you return to the comment entry screen, hit Publish, and you're done.

Where does your comment stay, while you are composing, solving the CAPTCHA, and / or logging in? For that matter, how does the comment script identify you, after you are logged in? How you login determines what icon goes with the comment, when published. Maybe you've noticed that, from time to time.

Cookies store data, from one screen to the next.

The answers to all of these questions is "cookies". The comment, as you compose it, is stored as a cookie. And your identity, provided when you logged in, becomes part of your comment - after it passes as a cookie.

The comment text is stored as a "first party" cookie - because the cookie is created, and read, under "". Your identity is determined under "", when you login - and is made part of the comment under "", when you finally publish. Your identity is stored - and passed - as a "third party" cookie.

That is all that cookies are. Website data stored, on your computer. Even the untrusted "third party" cookie is stored data - just data created under "", and read under "".

The problem with "third party" cookies involves data created under one domain, and read under another less trusted domain. But why are you surfing, to a website that you can't trust?

Let large websites remember your visits - make life simpler.

If you want to use Google, and other large websites, effectively, you have to allow them to store data on your computer - and retrieve the data, later. And that is how cookies are used.

To own - and operate - a Blogger blog, it would be wise to learn how to deal with cookies. If you have a problem, one of the simplest settings to check / correct is the browser cookie filters - then you may need to check / correct the browser script filters.


Yettah Jones said…
very, very nice! i never knew the cookie was actually stored, i thought it was something accessed 'out there'. i learned something!
D7ana said…
Thanks for de-scarifying cookies.

Also - I find leaving comment a way to get back some comments for my blog.
Yettah Jones said…
thanks! i have a question that I know you can answer, but it has nothing to do with this post, nor does it have to do with blogging, per se. do you have a place where normal people can ask just techie questions? please, if possible, let me know. i dont know if it is ok to leave an email address here or not, so i will just hope for the best! Thank you so much for all you do!
Chuck Croll said…

You can post in The N Zone, for general technical questions.

Popular posts from this blog

Stats Components Are Significant, In Their Own Context

One popular Stats related accessory, which displays pageview information to the public, is the "Popular Posts" gadget.

Popular Posts identifies from 1 to 10 of the most popular posts in the blog, by comparing Stats pageview counts. Optional parts of the display of each post are a snippet of text, and an ever popular thumbnail photo.

Like many Stats features, blog owners have found imaginative uses for "Popular Posts" - and overlook the limitations of the gadget. Both the dynamic nature of Stats, and the timing of the various pageview count recalculations, create confusion, when Popular Posts is examined.

Free Domain Registration By "UNONIC" Is Fraudulent

Blogger blog owners, like everybody else, like to save money.

Some blog owners prefer to save money when registering a custom domain, for their blogs. We've seen several free domain registration services, providing what is claimed to be a two level Top Level Domain "co.xx" (where "xx" == various country codes).

The latest in this ongoing story appears to be "" - and 13 other "top level domains".There is also an additional free service offering third-level .tf domains, under the name United Names Organisation. They occupy 14 second-level domains, including,,, and They are run by the same company as, and are given away as URL redirections.