Speaker 1: Welcome to brain Stuff from how Stuff Works dot com
Speaker 1: where smart Happens. Hi, I'm Marshall Brain with today's question,
Speaker 1: what is an Internet cookie? Cookies have for some reason
Speaker 1: gained a rather sinister image, but they're really simple and harmless.
Speaker 1: A cookie is just information stored as text strings on
Speaker 1: your machine by a web server. A web server sends
Speaker 1: you a cookie, and the browser stores it on the
Speaker 1: hard disk. The browser then returns the cookie to the
Speaker 1: server the next time the page is referenced. The most
Speaker 1: common use of a cookie is to store a user
Speaker 1: I D. For example, a cookie might contain the following
Speaker 1: string I D equals nine six three five. Amazon dot
Speaker 1: com is one site that uses this technique. When you
Speaker 1: order a book, you fill out a form with your
Speaker 1: name address. Amazon assigns you an i D in its database,
Speaker 1: stores your information with that i D on its server,
Speaker 1: and sends the i D to your browser as a cookie.
Speaker 1: Your browser stores the i D on your hard disk.
Speaker 1: The next time you go to Amazon, the idea is
Speaker 1: sent back to the server. The server looks you up
Speaker 1: by your I D and customizes the web page that
Speaker 1: sends back to you. In essence, it knows who you
Speaker 1: are so it can say welcome back, Joe Smith. You
Speaker 1: might be wondering, is there any more to cookies than that. No,
Speaker 1: they are simply text strings stored on the hard disk.
Speaker 1: They are little text files. You can open them up
Speaker 1: and see the strings that are being saved. There's nothing magic,
Speaker 1: there's nothing complicated about it. Our cookies harmful? No, They're
Speaker 1: just short text strings, and they can often make browsing
Speaker 1: better by allowing a server to recall any customized information
Speaker 1: you've set our cookies comment. Yes, the typical machine has
Speaker 1: hundreds of separate cookies on the hard disk. Can cookies
Speaker 1: transmit computer viruses? No, they're just text strings. Can accompany
Speaker 1: read your personal information from your hard disc with a cookie? No?
Speaker 1: Only the cookie that is sent in the first place
Speaker 1: is returned to the server. It's not modified or manipulated
Speaker 1: in any way. Be sure to check out our new
Speaker 1: video podcast, Stuff from the Future. Join How Stuff Work
Speaker 1: staff as we explore the most promising and perplexing possibilities
Speaker 1: of tomorrow. The How Stuff Works iPhone app has arrived.
Speaker 1: Download it today on iTunes.