mozilla

Revision 38528 of Cookies Preferences in Mozilla

  • Revision slug: Cookies_Preferences_in_Mozilla
  • Revision title: Cookies Preferences in Mozilla
  • Revision id: 38528
  • Created:
  • Creator: Dwitte
  • Is current revision? No
  • Comment tweak cookie pref descriptions.

Revision Content

These preferences apply to most Mozilla products (including Firefox and Seamonkey), however they are application-specific, so not all of them may apply to you. (The preferences below are the result of an overhaul to the original cookie preferences, which took place in March 2004. These changes were released as part of Mozilla 1.7. See {{template.Bug(233339)}} for details.)

network.cookie.cookieBehavior

Default Value: 3

0 = accept all cookies by default
1 = only accept from the originating site
2 = block all cookies by default
3 = use p3p settings (only selectable in the UI if p3p is available)

network.cookie.lifetimePolicy

Default Value: 0

0 = Accept cookies normally
1 = Prompt for each cookie
2 = Accept for current session only
3 = Accept for N days

network.cookie.lifetime.days

Default Value: 90

Only used if network.cookie.lifetimePolicy is set to 3

Sets the number of days that the lifetime of cookies should be limited to.

network.cookie.alwaysAcceptSessionCookies

Default Value: false

Only used if network.cookie.lifetimePolicy is set to 1

true = accepts session cookies without prompting
false = prompts for session cookies

network.cookie.maxNumber

Default Value: 1000

Configures the maximum amount of cookies to be stored

Valid range is from 0-65535, RFC 2109 and 2965 require this to be at least 300

network.cookie.maxPerHost

Default Value: 50

Configures the maximum amount of cookies to be stored per host

Valid range is from 0-65535, RFC 2109 and 2965 require this to be at least 20

network.cookie.disableCookieForMailNews

Default Value: true

true = do not accept any cookies from within mailnews or from mail-style URIs
false = allow cookies in these situations

This preference is applicable to Seamonkey only. (Thunderbird does not generally allow cookies, except for RSS feeds.)

network.cookie.prefsMigrated

Default Value: false

Migration pref for users with older profiles (before Mozilla 1.7). If you have the old-style prefs, they will be migrated when starting the application. (The old prefs are network.cookie.lifetime.enabled, network.cookie.lifetime.behavior, and network.cookie.warnAboutCookies.)

true = prefs have been migrated
false = migrate prefs on next startup

Original Document Information

  • Author(s): Mike Connor
  • Last Updated Date: May 22, 2004
  • Copyright Information: Portions of this content are © 1998–2007 by individual mozilla.org contributors; content available under a Creative Commons license | Details.

Revision Source

<p>These preferences apply to most Mozilla products (including Firefox and Seamonkey), however they are application-specific, so not all of them may apply to you. (The preferences below are the result of an overhaul to the original cookie preferences, which took place in March 2004. These changes were released as part of Mozilla 1.7. See {{template.Bug(233339)}} for details.)
</p>
<h3 name="network.cookie.cookieBehavior"> network.cookie.cookieBehavior </h3>
<p>Default Value: 3
</p><p>0 = accept all cookies by default<br>
1 = only accept from the originating site<br>
2 = block all cookies by default<br>
3 = use p3p settings (only selectable in the UI if p3p is available)
</p>
<h3 name="network.cookie.lifetimePolicy"> network.cookie.lifetimePolicy </h3>
<p>Default Value: 0
</p><p>0 = Accept cookies normally<br>
1 = Prompt for each cookie<br>
2 = Accept for current session only<br>
3 = Accept for N days
</p>
<h3 name="network.cookie.lifetime.days"> network.cookie.lifetime.days </h3>
<p>Default Value: 90
</p><p>Only used if network.cookie.lifetimePolicy is set to 3
</p><p>Sets the number of days that the lifetime of cookies should be limited to.
</p>
<h3 name="network.cookie.alwaysAcceptSessionCookies"> network.cookie.alwaysAcceptSessionCookies </h3>
<p>Default Value: false
</p><p>Only used if network.cookie.lifetimePolicy is set to 1
</p><p>true = accepts session cookies without prompting <br>
false = prompts for session cookies
</p>
<h3 name="network.cookie.maxNumber"> network.cookie.maxNumber </h3>
<p>Default Value: 1000
</p><p>Configures the maximum amount of cookies to be stored
</p><p>Valid range is from 0-65535, <a class="external" href="http://tools.ietf.org/html/rfc2109" title="http://tools.ietf.org/html/rfc2109">RFC 2109</a> and 2965 require this to be at least 300
</p>
<h3 name="network.cookie.maxPerHost"> network.cookie.maxPerHost </h3>
<p>Default Value: 50
</p><p>Configures the maximum amount of cookies to be stored per host
</p><p>Valid range is from 0-65535, <a class="external" href="http://tools.ietf.org/html/rfc2109" title="http://tools.ietf.org/html/rfc2109">RFC 2109</a> and 2965 require this to be at least 20
</p>
<h3 name="network.cookie.disableCookieForMailNews"> network.cookie.disableCookieForMailNews </h3>
<p>Default Value: true
</p><p>true = do not accept any cookies from within mailnews or from mail-style URIs<br>
false = allow cookies in these situations 
</p><p>This preference is applicable to Seamonkey only. (Thunderbird does not generally allow cookies, except for RSS feeds.)
</p>
<h3 name="network.cookie.prefsMigrated"> network.cookie.prefsMigrated </h3>
<p>Default Value: false
</p><p>Migration pref for users with older profiles (before Mozilla 1.7). If you have the old-style prefs, they will be migrated when starting the application. (The old prefs are network.cookie.lifetime.enabled, network.cookie.lifetime.behavior, and network.cookie.warnAboutCookies.)
</p><p>true = prefs have been migrated<br>
false = migrate prefs on next startup
</p>
<div class="originaldocinfo">
<h2 name="Original_Document_Information"> Original Document Information </h2>
<ul><li> Author(s): <a class="external" href="mailto:mconnor@myrealbox.com">Mike Connor</a>
</li><li> Last Updated Date: May 22, 2004
</li><li> Copyright Information: Portions of this content are © 1998–2007 by individual mozilla.org contributors; content available under a Creative Commons license | <a class="external" href="http://www.mozilla.org/foundation/licensing/website-content.html">Details</a>.
</li></ul>
</div>
Revert to this revision