%brandDTD; %platformDTD; ]>

# Managing Cookies

This document explains what cookies are, how they are used, and how you can gain control over the cookies stored on your computer by using the Cookie Manager in &brandFullName;.

In this section:

- What is a Cookie?
- Setting Up Cookie Rules
- Accepting and Blocking Cookies
- The Cookies Exceptions Window
- The View Cookies Window

## What is a Cookie?

A cookie is a file created by an Internet site to store information on your computer, such as your preferences when visiting that site. When you visit a site that uses cookies, the site might ask &brandShortName; to place one or more cookies on your hard disk.

Later, when you return to the site, &brandShortName; sends back the cookies that belong to the site. This allows the site to present you with information customized to fit your needs.

Cookies can also store personally identifiable information. Personally identifiable information is information that can be used to identify or contact you, such as your name, e-mail address, home or work address, or telephone number. However, a web site only has access to the personal information that you provide. For example, a web site cannot determine your e-mail address unless you provide it. Also, a web site cannot gain access to other information on your computer.

When you use the default cookie settings, this activity is invisible to you, and you won't know when a web site is setting a cookie or when &brandShortName; is sending a web site its cookie. However, you can set your cookies &pref.plural; so that you will be asked before a cookie is set. You can also restrict the lifetime of cookies to your current &brandShortName; session.

## Setting Up Cookie Rules

By default &brandShortName; accepts all cookies, including cookies which would allow a site to recognize you effectively forever. If this doesn't suit you, you can tell &brandShortName; to delete all cookies when you close &brandShortName;:

1. Select &pref.menuPath;.
2. Click the Privacy panel, and then click on the Cookies tab.
3. Select the until I close &brandShortName; &pref.singular; from the Keep Cookies combo box.

If you want to grant sites you trust the ability to store cookies permanently (e.g., to allow you to log in automatically to a site), click Exceptions, enter the site address, and click Allow.

### All the Settings

These are the &pref.plural; that affect how cookies are managed by &brandShortName;:

Allow sites to set cookies

  If you don't want any sites to store cookies on your computer, uncheck this &pref.singular;. Note that some sites may not work properly when cookies are disabled. If you want to grant certain sites the ability to store cookies, open the Cookies Exceptions Window by clicking Exceptions, enter the site address, and click Allow or Allow for Session.

for the originating web site only

  If &brandShortName; stores a site's cookie, it will return the cookie only to that particular site. &brandShortName; will not provide one site with cookies set by another. Since a web site can only receive its own cookies, it can learn about your activities while you are at that site but not your activities in general while surfing the Web.

  However, sometimes a web site displays content that is hosted on another site. That content can be anything from an image to text or an advertisement. The other web site that hosts also has the ability to store a cookie in &brandShortName;, even though you haven't visited the site directly.

  Cookies that are stored by a site other than the one you are visiting are called third-party cookies or foreign cookies. Web sites sometimes use third-party cookies with transparent GIFs, which are special images that help sites count users, track email responses, learn more about how visitors use the site, or customize your browsing experience. (Transparent GIFs are also known as web beacons or web bugs.) When this checkbox is checked, it blocks these foreign cookies from being stored.

unless I have removed Cookies set by the site

  If you remove Cookies in the View Cookies dialog while this checkbox is checked, &brandShortName; won't allow the respective sites to store cookies again.

Keep Cookies:
  - until they expire: If this &pref.singular; is selected, each cookie will be removed when it reaches its expiration date.
  - until I close &brandShortName;: If this &pref.singular; is selected, cookies will be removed when you restart &brandShortName;. Web sites requiring the use of cookies will still work, but if you restart &brandShortName;, the web site will think that you logged into the site for the first time again.
  - ask me every time: Display an alert every time a web site tries to store a cookie to ask you if you want that cookie stored.

## Accepting and Blocking Cookies

If you've chosen ask me every time from the Keep Cookies combo box, you'll see a dialog whenever a site tries to store a cookie on your computer providing the following options:

Allow
  To allow this particular cookie, just click Allow. Use this if you trust the site.
Allow for Session
  If you want to allow this cookie for now, but have it deleted when you exit &brandShortName;, click Allow for Session. Use this if the site doesn't work without cookies, but you don't want to have a permanent cookie stored for it.
Deny
  If you don't want this cookie to be stored, click Deny. Use this if you don't trust the site or suspect that it's compromising your privacy.
Use my choice for all cookies from this site
  Select this checkbox before clicking any of the buttons if you want &brandShortName; to remember your decision and not ask again. The site will be added to the Cookie Exceptions Window, where you can revert your choice should you wish to do so later.

## The Cookies Exceptions Window

Access this window by clicking the Exceptions button in cookies &pref.plural;. Here you can make exceptions from your general cookies &pref.plural; for specific sites. Using exceptions, you can allow all cookies, reject all cookies, or allow all cookies but have them deleted when you exit &brandShortName;, regardless of your other cookie settings.

To add a site to this list, simply type the site's domain name in the field labeled Address of web site. Then click Block to reject cookies from the site, click Allow to allow cookies from the site, or click Allow for Session to allow cookies from the site but have them deleted when you exit &brandShortName;.

To remove a site from this list, select it and click Remove Site. To clear the list completely, click Remove All Sites. This will clear the exceptions list so your general cookies &pref.plural; apply.

## The View Cookies Window

Use the View Cookies window to view and remove cookies. To access it, click the View Cookies button in cookies &pref.plural;.

This window lists all cookies currently stored on your computer, grouped by site. You can expand the sites and select a cookie to display more information about it. You can also search for a site or a cookie name by typing in the search bar.

To remove a cookie from the list, select it and click Remove Cookie. To remove a site's cookies, select the site and click Remove Cookie(s). To wipe all cookies, click Remove All Cookies. (This is the same as clicking the Clear Cookies Now button from the Cookies tab of the Privacy panel of the &pref.pluralCaps; window.)

07 July 2005

Copyright © 2003-2006 Contributors to the Mozilla Help Viewer Project.