Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I want Firefox to purge anything other than authentication cookies every session - how can I configure it?

share|improve this question
add comment

3 Answers

up vote 2 down vote accepted

Go to Edit >> Preferences >> Privacy, untick everything except for cookies. Make sure to select the option "Clear History when Firefox closes" and to select "Cookies" in the advanced options.

enter image description here

Then install Biscuit add-on. This extension allows to select which cookies will be preserved when you close Firefox. You can select all cookies from specific sites or just the authentication cookies.

enter image description here

Make sure to tick the option "Remove all unwanted cookies on browser shutdown" at the bottom of Biscuit preferences.

enter image description here

share|improve this answer
    
Ah, need more addons, do I? Thanks! –  Oxwivi Jun 27 '11 at 13:49
    
Well, it does the job very well. I have it, plus another 54 add-ons :-) –  lovinglinux Jun 27 '11 at 13:52
    
You sir, is already famous for your ginormous amount of add-on you use (I frequent to Ubuntu Forums under the same name). –  Oxwivi Jun 27 '11 at 14:18
    
:-) Some people don't like add-ons, but this one was the definitive solution to my cookie problems. –  lovinglinux Jun 27 '11 at 16:44
    
I fall in the category of not liking to use too many add-ons. If possible, I want to take advantage of built-in features before going to a third-party. –  Oxwivi Jun 27 '11 at 16:47
show 3 more comments

You can edit your privacy preferences from Edit -> Preferences -> Privacy

Privacy settings

You can check away everything other than "Accept cookies" if you only want to store authetication cookies.

share|improve this answer
    
That doesn't work. If I do that, all the other sites can't save cookies. I won't be able to use any services. –  Oxwivi Jun 25 '11 at 17:05
add comment

You are going to need to use one of the cookie management add-ons for Firefox. Once you choose one, you have to identify the specific authentication cookies to protect from deletion. Have Firefox delete everything but the cookies at shutdown, and let the cookie add-on delete all cookies except the authentication cookies you selected.

To have Firefox delete everything but the cookies, Go to Edit/Preferences/Privacy and check 'Clear history when Firefox closes', then click the Settings button.

settings prefs

The add-ons vary, you need to check the documentation of the one you choose for how to identify and protect specific cookies.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.