Main » TERM » C »

cookie - web cookies

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.

Other Names

Cookies may also be called a web cookie, Internet cookie, browser cookie or HTTP cookie.

Recommended Reading: session cookie and persistent cookie.

What do Web Cookies Do?

The main purpose of a cookie is to identify users and possibly prepare customized web pages for them. When you enter a website using cookies, you may be asked to fill out a form providing such information as your name and interests. This information is packaged into a cookie and sent to your browser which stores it for later use. The next time you go to the same website, your browser will send the cookie to the server. The server can use this information to present you with custom pages. For example, instead of seeing a generic welcome page you might see a page that welcomes you by name or shows when you last visited the site.

Recommended Reading: What You Need to Know About Cookies.

Information Obtained by Cookies

A cookie will typically contain a string of text with information about the browser. Some websites do use cookies to store more personal information about you, however, this can be done only if you provide that personal information. Legitimate websites will encrypt personal information stored in the cookie to prevent unauthorized usage by another party with access to your cookie folder.

Cookies have parameters that can be passed to them:

  • The name of the cookie.
  • The value of the cookie.
  • The expiration date of the cookie: this determines how long the cookie will remain active in your browser.
  • The path the cookie is valid for. Web pages outside of that path cannot use the cookie.
  • The domain the cookie is valid for. This makes the cookie accessible to pages on any of the servers in a domain.
  • The need for a secure connection: this indicates that the cookie can only be used under a secure server condition.

Browser Cookies

Image: "What are Cookies and What Do Cookies Do?" explains how to view and remove web cookies.

UNIX Magic Cookies

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.







TECH RESOURCES FROM OUR PARTNERS
LATEST ARTICLES
Facts about Cloud Computing in 2017

The following facts and statistics capture the changing landscape of cloud computing and how service providers and customers are keeping up with... Read More »

Facts about Computer Science: Education and Jobs

The following computer science facts and statistics provide a quick introduction to the changing trends in education and related careers. Read More »

Text Messaging & Chat Abbreviations

From A3 to LOL and ZZZ this guide lists 1,500 text message and online chat abbreviations to help you translate and understand today's texting... Read More »

STUDY GUIDES
The Five Generations of Computers

Learn about each of the five generations of computers and major technology developments that have led to the computing devices that we use... Read More »

Computer Architecture Study Guide

Computer architecture provides an introduction to system design basics for most computer science students. Read More »

Network Fundamentals Study Guide

Networking fundamentals teaches the building blocks of modern network design. Learn different types of networks, concepts, architecture and... Read More »