You are currently viewing a snapshot of www.mozilla.org taken on April 21, 2008. Most of this content is highly out of date (some pages haven't been updated since the project began in 1998) and exists for historical purposes only. If there are any pages on this archive site that you think should be added back to www.mozilla.org, please file a bug.



Cookies Preferences in Mozilla


See bug 233339 for details on the changes to the original preferences.  These changes are effective in nightly builds as of March 10th, and should be in 1.7b and later.
Preference
Default Value
Usage
network.cookie.cookieBehavior 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.disableCookieForMailNews true true = do not accept any cookies from within mailnews or from mail-style URIs
false = allow cookies in these situations
network.cookie.lifetimePolicy 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 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 false
* only used if network.cookie.lifetimePolicy is set to 1
true = accepts session cookies without prompting
false = prompts for session cookies
network.cookie.prefsMigrated false
* migration pref for users with older profiles.
true = prefs have been migrated
false = migrate prefs on next startup
network.cookie.maxNumber 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 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