Network.cookie.lifetimePolicy

From MozillaZine Knowledge Base
Revision as of 22:31, 7 May 2006 by Np (talk | contribs) (→‎Has an effect in: typo)
Jump to navigationJump to search

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 1.5

Tools -> Options -> Privacy -> Cookies -> Keep Cookies. (Value 3 isn't provided by this interface.)

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