What are Computer Cookies?

internet computers

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 computer 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, forcing you to re-enter it.

A temporary cookie solved this problem in the short term by setting aside a little bit of browser memory to save information. However, once the browser was closed, all temporary cookies were lost. Return surfers were not recognized and registration information had to be re-supplied at every visit.

Persistent cookies solved this problem. They allowed a site to recognize a surfer permanently by transferring a text file with a unique ID tag to the visitor's hard disk, matching a complimentary file on the server. On subsequent visits, the browser automatically handed this cookie over, allowing the site to pull up their matching cookie. Now cookies could persist for years.

Both temporary and permanent computer cookies can be used for many helpful purposes. Automatic registration logon, preserving website preferences, and saving items to a shopping cart are all examples of cookies put to good use. But permanent cookies also resulted in unanticipated uses, such as Web profiling.

Websites began keeping track of the surfing habits of its visitors, using computer cookies to log when an individual visited, what pages were viewed, and how long the visitor stayed. If he or she returned at a later date, the visitor’s cookie triggered open the log of previous visits and was amended to include the new visit. If personal information was offered on any of these visits, name, address and other information was associated with the "anonymous" ID tag, and consequently, the entire profile.

Marketers developed an even greater advantage for cookie profiling. Having advertising rights on several hundred and even many thousands of the most popular websites, marketers could pass third-party cookies to surfers and subsequently recognize individuals as they traveled across the Web, from site to site, logging comprehensive profiles of people's surfing habits over a period of months and even years. Sophisticated profiling programs quickly sort information provided by computer cookies, categorizing targets in several different areas based on statistical data. Gender, race, age, income level, political leanings, religious affiliation, physical location, marital status, children, pets and even sexual orientation can all be determined with varying degrees of accuracy through cookie profiling. Much depends on how much a person surfs, and where he or she chooses 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. Cookie controls also allow user-created lists for exceptions, so that one can turn cookies off, for example, but exempt sites where computer cookies are put to a useful purpose. Third-party cookies often have their own controls, as they are normally tracking cookies placed by marketers.

Cookie contents are encrypted and are only readable by the site that placed them. The name "cookie" comes from fortune cookie, because of the hidden information inside.

Related wiseGEEK articles

Category

Other Links

wiseGEEK features

Subscribe to wiseGEEK


24
I have paid membership to an online site. Why can I not access them without cookies? They accepted my payment without the cookies.
- anon43318
21
great article. also see how to test cookies.
- sachxn
19
can you get a virus with cookies?
- cascas21
18
what happens when you get rid of your computer's cookies?
- anon37753
17
Yeah! I never learned computer formally, only the my English language that enables me to understand the terminology of the computer, like cookies, for example. Thanks for your nice and understandable article, from which I can get the idea what is the function of cookies and why they need to be cleared always, from our internet programs(or something like that)
- anon35460
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
Last Modified: 19 November 2009

copyright © 2003 - 2009
conjecture corporation