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.
Cookies may also be called a web cookie, Internet cookie, browser cookie or HTTP 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
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.
Image: "What are Cookies and What Do Cookies Do?" explains how to view and remove web cookies.
UNIX Magic Cookies
Stay up to date on the latest developments in Internet terminology with a free weekly newsletter from Webopedia. Join to subscribe now.
Like everything in technology, AI touches on so many other trends, like self-driving cars and automation, and Big Data and the Internet of Things... Read More »DevOp's Role in Application Security
As organizations rush to release new applications, security appears to be getting short shrift. DevSecOps is a new approach that holds promise. Read More »Slideshow: Easy Editorial SEO Tips to Boost Traffic
This slideshow reviews five easy on-page editorial SEO tips to help drive organic search engine traffic, including the page title, heading,... Read More »
Java is a high-level programming language. This guide describes the basics of Java, providing an overview of syntax, variables, data types and... Read More »Java Basics, Part 2
This second Study Guide describes the basics of Java, providing an overview of operators, modifiers and control Structures. Read More »The 7 Layers of the OSI Model
The Open System Interconnection (OSI) model defines a networking framework to implement protocols in seven layers. Use this handy guide to compare... Read More »