Network.cookie.cookieBehavior: Difference between revisions

From MozillaZine Knowledge Base
Jump to navigationJump to search
(→‎3: new meaning per bug 818340)
Line 12: Line 12:
No cookies are allowed.
No cookies are allowed.
===3===
===3===
Cookies are allowed based on the [[network.cookie.p3p | cookie P3P policy]] (Mozilla Suite and SeaMonkey only).
Third-party cookies are allowed only if that site has stored cookies already from a previous visit (Firefox 22.0, SeaMonkey 2.19, and later)
''(obsolete)'' Cookies are allowed based on the [[network.cookie.p3p | cookie P3P policy]] (Mozilla Suite only).


==UI==
==UI==

Revision as of 04:38, 5 March 2013

Background

This preference controls how the browser allows cookies.

Possible values and their effects

0

All cookies are allowed. (Default)

1

Only cookies from the originating server are allowed.

2

No cookies are allowed.

3

Third-party cookies are allowed only if that site has stored cookies already from a previous visit (Firefox 22.0, SeaMonkey 2.19, and later) (obsolete) Cookies are allowed based on the cookie P3P policy (Mozilla Suite only).

UI

Firefox 3.0 and above

Tools -> Options -> Privacy / Cookies

  • "Accept cookies from sites"
    • Accept third-party cookies

Note: Unchecking "Accept third-party cookies" will allow cookies from the originating server only.

Firefox 2.0

Tools -> Options -> Privacy / Cookies

  • "Accept cookies from sites"

Note: The option to only allow cookies from the originating server was removed from the UI in Firefox 2.

Firefox 1.5

Tools -> Options -> Privacy -> Cookies

  • "Allow sites to accept cookies"
    • "for the originating site only"

Mozilla Suite and SeaMonkey

Edit -> Preferences -> Privacy & Security -> Cookies / Cookie Acceptance Policy

  • Allow all cookies
  • Allow cookies for the originating web site only
  • Block cookies
  • Allow cookies based on privacy settings

Caveats

  • Disabling cookies will break many sites that require you to log in.

First checked in

2003-06-14 by Daniel Witte

Has an effect in

  • Netscape (all versions since 7.2)
  • Mozilla Suite (all versions since 1.5)
  • Phoenix (all versions)
  • Mozilla Firebird (all versions)
  • Mozilla Firefox (all versions)
  • SeaMonkey (all versions)

Related bugs

Related preferences

See also