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 "". Or created under "GMail" / "Google", and read under any third party application, that allows you to use your GMail or Google account.

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!
Nitecruzr said…

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

Popular posts from this blog

Adding A Link To Your Blog Post

Occasionally, you see a very odd, cryptic complaint I just added a link in my blog, but the link vanished! No, it wasn't your imagination.

What's The URL Of My Blog?

We see the plea for help, periodically I need the URL of my blog, so I can give it to my friends. Help! Who's buried in Grant's Tomb, after all? No Chuck, be polite. OK, OK. The title of this blog is "The Real Blogger Status", and the title of this post is "What's The URL Of My Blog?".

Embedded Comments And Main Page View

The option to display comments, embedded below the post, was made a blog option relatively recently. This was a long requested feature - and many bloggers added it to their blogs, as soon as the option was presented to us. Some blog owners like this feature so much, that they request it to be visible when the blog is opened, in main page view. I would like all comments, and the comment form, to be shown underneath the relevant post, automatically, for everyone to read without clicking on the number of comments link. And this is not how embedded comments work.