What are Computer Cookies?

technology gadgets

A computer cookie is a small text file which contains a unique ID tag, placed on your computer by a website. The website saves a complimentary file with a matching ID tag. In this file various information can be stored, from pages visited on the site, to information voluntarily given to the site. When you revisit the site days or weeks later, the site can recognize you by matching the cookie on your computer with the counterpart in its database.

There are two types of cookies: temporary and permanent. Temporary cookies, also called session cookies, are stored temporarily in your browser's memory and are deleted as soon as you end the session by closing the browser. Permanent cookies, also called persistent cookies, are stored permanently on your computer's hard drive and, if deleted, will be recreated the next time you visit the sites that placed them there.

Cookie technology addressed the need to keep track of information entered at a site so that if you submitted a registration form for example, the site could associate that information with you as you traveled through the site's pages. Otherwise, every time you clicked on a different page in the site, establishing a new connection, the site would lose the information in reference to you, and would have to ask you for it again.

A temporary cookie solved this problem in the short term by setting aside a little bit of your browser's memory to make a "folder" to save information for you. But temporary cookies were lost as soon as you closed your browser. You were not recognized on subsequent visits.

Persistent cookies solved this problem. They allowed a site to recognize you permanently by transferring a text file to your computer with a unique ID tag, matching a complimentary file on the server. Now cookies could persist for years.

Both temporary and permanent cookies can be used for many helpful purposes. Automatic registration log-on, preserving website preferences, and saving items to a shopping cart are all examples of cookies put to good use.

But permanent cookies resulted in unanticipated uses as well.

Many websites began keeping track of when an individual visited, what pages were viewed, and how long the visitor stayed. This information was stored in the visitor's cookie. When he returned, the log of previous visits to the site was immediately known, and the new visit was added to his log. If the visitor ever offered personal information at the site, his real identity, address and other personal information was associated with the anonymous ID tag. Website profiling was born.

Marketers had an even more unique advantage. A given marketer may have advertising rights on several hundred or even many thousands of the most popular websites. In this way the marketer can pass cookies to surfers on countless sites, then recognize a surfer's unique ID tag whenever he or she visits one of their affiliated sites. In this way the marketer can track someone across the web, from site to site, logging a comprehensive profile of the individual's surfing habits over a period of months and even years. Sophisticated profiling programs then sort the data provided by the cookie to categorize the target in several different areas, based on statistical data. Gender, race, income level, political leanings, religious affiliation and even sexual orientation can all be determined with various degrees of accuracy through cookie profiling. Much depends on how much a person surfs, and where they choose to go online.

As a result of public outcry in response to surreptitious profiling, cookie controls were placed in post 3.x browsers to allow users to turn cookies off -- options that were not available in 1995 when permanent cookie technology was first embedded into browsers without public awareness or knowledge of how they could be used. Third-party cookies often have their own controls, as they are normally cookies placed by marketers that are used for profiling.

Cookie controls also allow user-created lists for exceptions, so that one can turn cookies off, for example, but exempt sites where cookies are put to a useful purpose.

The name "cookie" comes from fortune cookie, because of the hidden information inside.

Related wiseGEEK articles

Category

Other Links



Discuss this Article

16
How do you enable your web cookies in order to create an account that needs the person to have cookies enabled? Like for example: I want to create an account in Code Wiki and it requires that I must have my cookies enabled in order to create an account.
- anon32654
15
Hi *is* there some setting so i don't get cookies?
- anon32143
13
If I have paid membership in Blue Mountain, why can I not access them without cookies? They accepted my payment without cookies.
- anon25456
12
I now know what cookies are but I have this problem where recently when I want to go to google mail it won't go but before it got there quickly. Is that because of my cookies?
- anon25213
11
Can I drink them with milk?
- anon24952
10
Hi,

I would like to ask you all a question. Does a cookie only come through internet usage or can it be placed in ur computer by some one to track ur internet usage.

- anon22037
9
Can cookies be placed on your computer after it is shut off? Thanks.
- anon21437
8
Very Good. My husband has been trying to teach me about them for years and I just couldn't understand. Thanks a lot. No I'm also cognisant of what exactly happens with my information as I move across the net. I have one question though - Do you have information on whether cookies breach our privacy?

Carolin

- anon10717
Editor's reply: good question! check out our article, what are some internet security fundamentals?.
7
Many shopping carts do not require a visitor to login, so the cookie itself contains the selected items without any necessity for the cart to maintain a complimentary file. When the visitor is ready to checkout, even after several days or weeks, the cookie is read and the selected items are displayed for the visitor. In other words the cookie is the visitor's cart.

- anon7051
6
Can I change my cookies or something to undo the block on a particular website? Is my ID tag being read when I try and post an ad?
- anon5425
5
Wow gr8 explaining bout the cookies and various other things! So simple and all for a person like me! You see im not that great on computers and all but that was really gr8 explaing

but id like to ask, when i do a scan with avg or spybot only a few problems pop up after these scans have finished...

But then i just did a scan with adaware and 380 (infections popped up on the scan summary)

although they did not come under the critical heading. They came under as privacy ?Im not sure what that means anyhow thats not my question, my question is i deleted all 380 of them because i wanted my system clear? Did i do wrong by deleting them? Like did i harm my comp in any way?How come they showed up in adaware and not the other 2 scans?

- anon3878
3
if cookies are good then why do certain sites such as yahoo mail send error messages saying to clear cookies and try again?

- anon1414
1
Thank you for your informative site on what "cookies" are. I teach technology to 4th through 6th graders and am trying to broaden their knowledge of marketing techniques used by internet marketers. We are doing an activity that asks students to be able to identify when a site has placed a cookie on the user's computer. How can one tell if a cookie has been placed on your computer? All I can show them is that the next time the user visits that site it is able to "greet" the user and has knowledge about the user. Is their an "easy" way to tell if a cookie has been placed on your computer after visiting a site?
- anon625

FREE: Subscribe to wiseGEEK

 
    learn more

our strict privacy policy ensures that your email address will be safe



Written by R. Kayne

copyright © 2003 - 2009
conjecture corporation