What is a cookie?

No comments
The most common use of a cookie is to store a user ID. For example, the cookie can contain the following string: ID = 96352398. 



Amazon.com is a website for online sale of books using this technique. When you buy something, you must fill out a form with name and address. Amazon assigns an ID to that data, and stores that information with a specific ID in their database on the server and sends the ID to the browser as a cookie. The browser stores the ID on the hard disk. This way the next time you go to the Amazon website, the ID will be sent back to the server. The server identifies each user by his ID and customize the Web page.

The most common questions relating to cookies are: 


-The cookies store information only? 


If. Cookies are simply text strings. There are many computers that have storage directories cookie data. Cookies are small text files. 


-The cookies are dangerous? 


No. They are just small text strings and can often achieve better navigation, allowing the server to remember the personalized information has been configured. 


Cookies are common? 


Yes. 


-Cookies can transmit viruses to the computer? 


No. They are just text strings. 


-A company can get my personal information from my hard disk with a cookie? 


No. Only the first cookie is sent back to the server and is not modified or tampered with in any way.

No comments :

Post a Comment