MozillaZine

Network.cookie.lifetimePolicy

From MozillaZine Knowledge Base

Contents

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