Closed Bug 275713 Opened 20 years ago Closed 20 years ago

Persistent Cookie Becomes Session Cookie and Is Lost

Categories

(Core :: Networking: Cookies, defect)

x86
Other
defect
Not set
major

Tracking

()

RESOLVED INVALID

People

(Reporter: david, Assigned: darin.moz)

References

Details

Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.7.5) Gecko/20041217

With my Preferences for "Cookie Lifetime Policy" set to "Accept cookies
normally", I logged on to Bugzilla for Mozilla.org and received
bugzilla.mozilla.org cookies.  After logging off from Bugzilla, I kept the
cookie for LASTORDER and removed the others.  Then, I changed "Cookie Lifetime
Policy" to "Accept for current session only".  When I logged on to Bugzilla
again, all the bugzilla.mozilla.org cookies were for the current session only,
including the LASTORDER cookie.  When I terminated Mozilla, the LASTORDER cookie
no longer existed in cookies.txt.  

This bug invalidates the suggestions in
<https://bugzilla.mozilla.org/show_bug.cgi?id=275381#c1> if I want to retain
only one cookie from a set of cookies all from the same site, making the others
session cookies.  It also impacts my workaround for bug #274766.
Blocks: 275716
When you visit the site again, the saved cookie gets replaced by a new cookie,
which is in turn governed by the lifetime pref.  This is expected and by design.

The reference you're talking about is assuming you're going to trust specific
sites, not specific cookies.  Locking specific cookies is bug 149544.
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.