Select the product you need help with
- Internet Explorer
- Windows Phone
- More products
Description of Cookies
Article ID: 260971 - View products that this article applies to.
This article was previously published under Q260971
A Cookie is a small text based file given to you by a visited website that helps identify you to that site. Cookies are used to maintain state information as you navigate different pages on a Web site or return to the Web site at a later time.
Cookies are defined in the Request for Comments (RFC) 2965 document, "HTTP State Management Mechanism." You can find RFC documents at the following RFC Editor Web site:
http://www.rfc-editor.orgCookies can be created by client-side script in a Hypertext Markup Language (HTML) page (for example, by using a script written in Microsoft Visual Basic Scripting Edition or JScript), by Win32 programs that use the Microsoft Win32 Internet functions (InternetSetCookie and InternetGetCookie), or by server-side script (for example, a script written in Visual Basic Scripting Edition in an Active Server Pages [ASP] page, or a Common Gateway Interface [CGI] script).
Important: Cookies cannot be used to run code (run programs) or to deliver viruses to your computer.
The purpose of a cookie is to tell the Web server that you have returned to a specific Web page. For example, if you personalize Web pages, or register for products or services, a cookie helps the Web page server to recall your specific information. This may be useful to simplify the process of recording your personal information, such as billing addresses, shipping addresses, and so on. When you visit the same Web site, the information you previously provided can be retrieved, so you can easily use the Web site features that you previously chose.
You have the ability to enable or disable cookies, or have Internet Explorer prompt you before accepting cookies. Note that disabling cookies may prevent some Web services from working correctly, and disabling cookies does not make you anonymous or prevent Web sites from tracking your browsing habits. HTTP requests still include information about where you came from (HTTP Referer), your IP address, browser version, operating system, and other information.
How to Manage Cookies in Internet ExplorerFor information about managing cookies in Internet Explorer, see one of the following sections, as appropriate for your version of Internet Explorer.
Internet Explorer 9
To delete cookies in Internet Explorer 9, follow these steps:
To block or allow all cookies in Internet Explorer 9, follow these steps:
How to manage cookies in Internet Explorer 9
Internet Explorer 8
To delete cookies in Internet Explorer 8, follow these steps::
To block or allow all cookies in Internet Explorer 8, follow these steps::
Internet Explorer 7
To delete cookies in Internet Explorer 7, follow these steps:
To block or allow all cookies in Internet Explorer 7, follow these steps:
Internet Explorer 6
To Delete cookies in Internet Explorer 9, follow these steps:
For additional information about managing cookies in Internet Explorer 6, click the following article number to view the article in the Microsoft Knowledge Base:
(http://support.microsoft.com/kb/283185)How to Manage Cookies in Internet Explorer 6
Persistent Cookies vs. Session CookiesCookies are either stored in memory (session cookies) or placed on your hard disk (persistent cookies). Persistent cookies are written to the Cookies folder under either your user profile folder or the Windir\Cookies folder. The Temporary Internet Files index is updated with pointers to the actual cookies files. For additional information about persistent and session cookies, click the article number below to view the article in the Microsoft Knowledge Base:
(http://support.microsoft.com/kb/223799/EN-US/ )Description of Persistent and Per-Session Cookies in Internet Explorer
First-Party and Third-Party CookiesFirst-party cookies are cookies that are associated with the host domain. Third-party cookies are cookies from any other domain. For example, suppose that you visit www.example1.com by typing the URL in the address bar, and sample.example1.com, www.example2.com, and www.example1.net have banner ads on this page. If these sites all set cookies, the cookies from www.example1.com and sample.example1.com are in a first-party context, and the cookies from www.example2.com and www.example1.net are in a third-party context.
Cookies are uniquely assigned to your user profile, and can only be read by the host domain that issues the cookie to you.
Important: Because of a known issue in Internet Explorer 4 and Internet Explorer 5, a Web site may be able to retrieve cookies that were set by another host domain. This problem has been corrected in Internet Explorer 5.01 Service Pack 1 and later and in Internet Explorer 5.5 and later. For additional information about this issue, click the article number below to view the article in the Microsoft Knowledge Base:
(http://support.microsoft.com/kb/258430/EN-US/ )Web Site May Retrieve Cookies from Your Computer
Internet Explorer 6 and above implement advanced cookie filtering that is based on the Platform for Privacy Preferences (P3P) specification. By default, Internet Explorer 6 blocks third-party cookies that do not have a compact policy (a condensed computer-readable privacy statement) or third-party cookies that have a compact policy which specifies that personally identifiable information is used without your implicit consent. First-party cookies that have a compact policy which specifies that personally identifiable information is used without implicit consent are downgraded (deleted when you close Internet Explorer). First-party cookies that do not have a compact policy are leashed (restricted so that they can only be read in the first-party context).
Viewing the Information in a CookieTo view the information in a cookie, double-click the cookie to open it. For information about how cookies are used on Microsoft's Web site, view the following Microsoft Web site:
Article ID: 260971 - Last Review: May 10, 2012 - Revision: 5.0