Network.cookie.lifetimePolicy

From MozillaZine Knowledge Base
Revision as of 04:59, 5 March 2013 by Rsx11m (talk | contribs) (→‎Related preferences: replaced obsolete pref with a related one, but not yet documented)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

Background

This preference controls when cookies expire.

Possible values and their effects

0

The cookie's lifetime is supplied by the server. (Default)

1

The user is prompted for the cookie's lifetime.

2

The cookie expires at the end of the session (when the browser closes).

3

The cookie lasts for the number of days specified by network.cookie.lifetime.days.

Caveats

  • Shortening cookies' lifetimes may require you to re-log in to sites more than usual.

UI

Firefox

Tools -> Options -> Privacy / Cookies -> Keep Until: (Firefox 2 and above)
Tools -> Options -> Privacy -> Cookies -> Keep Cookies: (Firefox 1.5)
(Value 3 isn't provided by this interface.)

Mozilla Suite and SeaMonkey

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

First checked in

2004-03-09 by Mike Connor

Has an effect in

  • Netscape (all versions since 7.2)
  • Mozilla Suite (all versions since 1.7a)
  • Mozilla Firefox (all versions since 0.9)
  • SeaMonkey (all versions)

Related bugs

Related preferences