%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; and open the Privacy panel.
2. Select the I close &brandShortName; &pref.singular; from the Keep until menu.

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;:

Accept cookies from sites

  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.

Keep until
  - they expire
    If this &pref.singular; is selected, each cookie will be removed when the site that set it has determined the cookie should expire.
  - 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 asking you if you want that cookie stored.

## Accepting and Blocking Cookies

If you've chosen ask me every time from the Keep until menu, 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.

12 September 2006

Copyright © ©right.years; Contributors to the Mozilla Help Viewer Project.