While not as delicious as real cookies, website cookies provide a critical and useful benefit for anyone who uses a website.

Imagine living with no memory: every person you meet, even your mom or dad or best friend, you would have to ask them their name, their relationship to you, and other questions to get up to speed.

Websites have the same problem: when you re-visit their site, they don’t remember you. They use cookies but not the way we use cookies, to enjoy ourselves and feel better.

Websites use cookies to help them remember things. These cookies are created, updated, and deleted with web browsers. Website cookies are small bits of data, called a text file, that sit on your computer. Websites some times write out information to these data cookies so when you visit again, the website can pick up the cookie it left, read a little about you, then use the information as you browse the website. In most cases, these cookies are very useful for repeat visitors to a website.

There are two kinds of cookies: those that last only while you are on a website (called session cookies) and those that last between visits to a website (persistent cookies). But are also called http cookies but they serve different purposes.

In the same way eating 500 real cookies at one go can be a problem, for most people, the cookies a website leaves behind also can be a problem. Advertisers like to leave cookies to track where you go and, some times, what you do. It’s reported the US spy agency, the National Security Agency (NSA), also reads advertiser cookies on computers to track people. The rules for how and when cookies are used depends on the country you live in and, in some countries, the company that places the cookie.

For example, rules in the United States are fairly loose for what advertisers can do. Rules for Europe are much tighter. Yet Americans and Europeans alike can go to and use their site to find, browse, and erase any personal history the Google search engine has collected about the search terms they used in Google’s search engine. Google’s data about your search efforts is stored on their computers but a cookie helps them identify you.

Should you turn cookies off? Probably not if you log in to some websites. It is common to use cookies as part of the log in process and to authenticate you during your session on a website. Instead, web browsers have some form of Preferences tab or link where you can see all cookies currently managed by the browser. You can go through the list and delete cookies from advertisers or other sources, if that bothers you.

Here is an example of browsing cookies in the Firefox web browser:


Notice the _ga bit? It’s likely that is a unique ID to track my activity through Google Analytics, an online software tool website owners use to track activity on their sites. Because the site is the 3D object warehouse for SketchUp, software I use and like, this cookie does not bother me.

In short, cookies are like anything online. You should know about them. Cookies can make your online life easier. But they also should be watched over time to ensure your privacy.

If you are interested, this magazine site uses cookies but in a limited way. Cookies are used for subscribers who log in, to help remember them and save having to log in later, and for site activity reporting. However, I only track simple activities: the number of unique visitors compared to repeat visitors, the number of pages viewed, time spent during each visit, and similar data to give me a rough idea how the magazine site is used. I don’t, for example, track activity through the site on a visitor by visitor basis. I find that creepy.

Nor is it necessary. Readers who email me with questions and suggestions for content provide me with more insight than Google Analytics ever has in over 12 years of using these tools.

Learn More

HTTP Cookies

Cookies and the European Union (EU)

NSA uses Google Cookies to Pinpoint Targets for Hacking

(Real) Cookies


  • Tim Slavin

    Tim is an award-winning writer and technologist who enjoys teaching tech to non-technical people. He has many years experience with web sites and applications in business, technical, and creative roles. He and his wife have two kids, now teenagers, who are mad about video games.

Also In The September 2014 Issue

How to Choose Great Toys

The best toy is one that is fun for your child and meets their needs. This article helps with ideas how to choose toys and where to find them.


People use the Scratch language to create interactive stories, games, and animations. Includes an active community to share projects.

Jenn Choi Talks Raising Boys and Toys are Tools

Jenn Choi publishes an online magazine to help parents find toys while also helping to raise her two sons.

How to Describe a Database to a Child

Databases are mysterious but critical technology. Here's one simple way to describe them to kids (and adults).


While not as delicious as real cookies, website cookies provide a critical and useful benefit for anyone who uses a website.

Luis Carbajosa Talks about Family, Tech, and Five Boys

Luis Carbajosa is a Civil Engineer in Spain who, with his wife, are raising five boys who love technology.

If you can’t explain it to a six year old, you don’t understand it yourself.

Teach Python to Kids

Contrary to what you might think, the Python programming language is not too complicated for kids to learn and use effectively.

Where to Find Projects for Kids

Find kid-friendly projects online to keep you and your kids busy having fun and learning.

Little Kids and Computer Science

Little kids and computer science might appear a odd match. Computer science sounds complex. But there is a curriculum for little kids.

September 2014 Learn More Links

Links from the bottom of all the September 2014 articles, collected in one place for you to print, share, or bookmark.

September 2014 News Wire

Interesting stories about computer science, software programming, and technology for the month of August 2014.

Interested but not ready to subscribe? Sign-up for our free monthly email newsletter with curated site content and a new issue email announcement that we send every two months.

No, thanks!