Cookies are a piece of information that a Web site puts on your hard disk or on your computer’s browser directory, A computer “cookie” is more formally known as an HTTP cookie, a web cookie, an Internet cookie, or a browser cookie. Your browser stores each message in a small file called cookie.txt.
When you request another page from the server, your browser sends the cookie back to the server.it is information for future use that is stored by the server on the client side of a client/server communication. The purpose of the cookie is to help the website keep track of your visits and activity.
A cookie is a mechanism that allows the server to store its own information about a user on the user’s own computer. The term “cookie” is an allusion to a Unix program called Fortune Cookie that produces a different message, or fortune, each time it runs.
Examples of cookies
What information is in a cookie?
- This depends on how a website has set up its cookie feature, but generally, the content of a cookie is a randomly generated set of characters. For most purposes a website sending a cookie does not need to know who you are – it just needs to remember that it has seen your browser.
- Some websites do write personal information about you into a cookie, but this is only possible if you have provided them with the information in the first place. If personal information is stored in a cookie it is usually encrypted – coded – so that any third party who has access to the cookie folder of your browser cannot read it.