Selective Retention of Cookies Firefox 29/30

Discussion of features in Mozilla Firefox
Posts: 1
Joined: June 14th, 2014, 10:56 am

Post Posted June 14th, 2014, 11:21 am

Normally I would like to delete all cookies except one, that logs me into a credit card site that uses cookies for security purposes. It took me a lot of effort to find one combination that worked, However, it makes little logical sense why it works and is far from obvious. I will share my experience with others that it may solve similar problems Erasing All Cookies When Firefox 29 Closes Except Specified

 Under TOOLS/PRIVACY/History
 Use custom settings
 Remember browsing history
 Remember search and form history
 Accept cookies from sites [Under EXCEPTIONS add sites where you do not want cookies erased when Firefox closes]
 Accept cookies form Third party sites [NEVER]
 Keep Until [The Expire]
 Clear History When Firefox Closes [Settings]
 When I quit Firefox, check the following
 Browsing and Download History
 Active Logins
 Forms and Search History
 Cookies
 Cache
What makes little sense is that under "keep until" deleting when firefox closes deletes the cookie I want to keep, even though I do not have have cookies checked under "clear history when firefox closes" and I have the desired cookie listed under allow "exceptions.This process of designating cookies I want retained and all others deleted when closing firefox seems unintuitive and convoluted. Other than that I love Firefox.


User avatar
Posts: 1747
Joined: December 11th, 2009, 11:23 am

Post Posted June 22nd, 2014, 8:39 pm

I use the add-on Cookie Whitelist, which works with the Privacy page. Sometimes you need to keep certain cookies. And for some non-commercial sites, like this one, the harmless cookie lets you avoid login every time you visit. Clearing your browsing history every time can be inconvenient if you want to go back to something you've read.
Desktop--Win 7 Ult. 64-bit, 6GB RAM/FF ESR/Latest TB/Chrome/Opera/Avira A-V/Windows firewall.

Posts: 25
Joined: November 18th, 2004, 3:30 am

Post Posted December 12th, 2014, 6:31 am

Just adding this for the record;

There is a "better" way of retaining even individual cookies without allowing the whole domain (and without having to install any extension):
- Options->Privacy->Keep cookies: Until they expire
- clear all cookies
- visit the site that sets the cookie
- manually delete all cookies except the one you want to keep
- quit firefox and restart it
- check that the cookie is still there
- now set Options->Privacy->Keep cookies: until I close Firefox (or whatever you prefer)
This will keep the cookie for the lifetime defined by the cookie itself (which is usually longer than the session).

For this to work, make sure that "cookies" is NOT selected under "Clear history when firefox closes"


User avatar
Posts: 1747
Joined: December 11th, 2009, 11:23 am

Post Posted December 12th, 2014, 10:40 am

" now set Options->Privacy->Keep cookies: until I close Firefox (or whatever you prefer)"

Wouldn't that clear all the cookies again?
Last edited by LoveMyFoxy on December 12th, 2014, 3:58 pm, edited 1 time in total.
Desktop--Win 7 Ult. 64-bit, 6GB RAM/FF ESR/Latest TB/Chrome/Opera/Avira A-V/Windows firewall.


User avatar
Posts: 22109
Joined: June 28th, 2008, 10:31 pm
Location: Mesquite, Nevada

Post Posted December 12th, 2014, 11:35 am

As LoveMyFoxy notes ... I also use an extension that gives me more control via a UI in order to handle cookies... though I use Cookie Monster instead. What I did long ago was to install Cookie Monster (it changes some settings in the Options area to do its thing properly) ... then I removed all cookies and then visited the sites where I want to retain cookies all the time... then from that point on when I visit a site that needs cookies I temp allow them via the Extensions button... then when Firefox closes all those temp cookies are gone... or as I do... once finished with that site... I click on the exts. button and revoke temp cookies... keeps Firefox clean.
Cookie Monster :: Add-ons for Firefox
As you can see she's (The CAT) always alert and on the prowl for Meoware !!

Posts: 31
Joined: April 3rd, 2017, 12:20 pm

Post Posted April 5th, 2017, 1:03 pm

I'm having these same issues. Mozilla needs a major rethink of this system. It is at best convoluted and counter-intuitive, but generally just dysfunctional.

Just realized this thread is three years old and Mozilla hasn't fixed this bug. Impressive.

Also, tried to connect to the following page supposedly addressing this issue ... d-p/817965
but Avast blocked it, saying: uses an invalid security certificate.

The certificate is not trusted because the issuer certificate is unknown.
The server might not be sending the appropriate intermediate certificates.
An additional root certificate may need to be imported.



User avatar
Posts: 117074
Joined: September 23rd, 2004, 8:57 pm
Location: Somewhere on the right coast

Post Posted April 5th, 2017, 2:28 pm

Yes, this thread is a bit old. Please start a new topic and provide details of the issue you are seeing at this time.

Locking this due to the age of the original posts, which involved versions of the program long since obsolete.

Return to Firefox Features

Who is online

Users browsing this forum: No registered users and 1 guest