Cookies are messages that a web server transmits to a web browser so that the web server can keep track of the activity of user on a specific web site.

Or you can say, a cookie is a message given to a web browser by a web server. The browser stores the message in a text file. The message is then sent back to the server each time the browser requests a page from the server.

The main purpose of cookies is to identify users and possibly prepare customized web pages for them.

The name cookie derives from UNIX objects called magic cookies. These are tokens that are attached to a user or program and change depending on the areas entered by the user or program.

Cookies do not act maliciously on computer systems. They are merely text files that can be deleted at any time, they are not plug ins nor are they programs.

Cookies can not be used to spread viruses and they can not access your hard drive. This does not mean that cookies are not relevant to a user's privacy and anonymity on the Internet.

Cookies cannot read your hard drive to find out information about you, however, any personal information that you give to a web site, including credit card information, will most likely be stored in a cookie unless you have turned off the cookie feature in your browser. In only this way are cookies a threat to privacy.

The cookie will only contain information that you freely provide to a web site.

Parameters of Cookies

Cookies have six parameters that can be passed to them:

  • The name of the cookie
  • The value of the cookie
  • The expiration date of the cookie, determines how long the cookie will remain active in your browser
  • The path the cookie is valid for, sets the URL path the cookie is valid in. Web pages outside of that path cannot use the cookie
  • The domain the cookie is valid for, takes the path parameter one step further. This makes the cookie accessible to pages on any of the servers when a site uses multiple servers in a domain
  • The need for a secure connection, indicates that the cookie can only be used under a secure server condition, such as a site using SSL

Computer Networking Quiz

« Previous Topic Next Topic »

Follow/Like Us on Facebook

Subscribe Us on YouTube