X
Tap here to go to the mobile version of the site.

Support Forum

Firefox isn't clearing cookies for a website in my exception list after closing the browser

Posted

I put twitter.com into the Preferences->Cookies&Site Data->Manage Permissions list, with "Allow for Session" as the option.

I left "Delete cookies and site data when Firefox is closed" unchecked, because we're not worried about most of the websites.

However, it didn't have the desired effect!

I'm using the FF password manager to keep all my passwords under one master password, sync'd across all my devices which is great, but our family computer is causing problems: I want some important websites to have its session cookies cleared down when anyone exits the browser, so that I have to re-enter the master password before anyone's passwords are available.

So it seems that the Manage Permissions list isn't working. The only effect I saw is that twitter now askes me to approve the use of cookies every time!

After trying it out several times, my logged-in session on twitter.com is still active and I can see with an add-on that all the twitter cookies are still there. In fact there must be about 50 cookies there, loads of them!

After experimenting a bit more, I realised that it's because I kept the twitter tab open when I closed FF, and FF opens up twitter again straight away when restarted.

So do I have to close the tab before I close FF? What happens if it's the only or last tab open?

I put twitter.com into the Preferences->Cookies&Site Data->Manage Permissions list, with "Allow for Session" as the option. I left "Delete cookies and site data when Firefox is closed" unchecked, because we're not worried about most of the websites. However, it didn't have the desired effect! I'm using the FF password manager to keep all my passwords under one master password, sync'd across all my devices which is great, but our family computer is causing problems: I want some important websites to have its session cookies cleared down when anyone exits the browser, so that I have to re-enter the master password before anyone's passwords are available. So it seems that the Manage Permissions list isn't working. The only effect I saw is that twitter now askes me to approve the use of cookies every time! After trying it out several times, my logged-in session on twitter.com is still active and I can see with an add-on that all the twitter cookies are still there. In fact there must be about 50 cookies there, loads of them! After experimenting a bit more, I realised that it's because I kept the twitter tab open when I closed FF, and FF opens up twitter again straight away when restarted. So do I have to close the tab before I close FF? What happens if it's the only or last tab open?
Quote

Additional System Details

Installed Plug-ins

  • Shockwave Flash 32.0 r0

Application

  • User Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:67.0) Gecko/20100101 Firefox/67.0

More Information

My_Cheese_Is_Slippin'
  • Top 10 Contributor
39 solutions 453 answers

Hi Adam H., Just to be clear - are you saying that Twitter is keeping you logged in? If that is the case, you might want to try Forget About This Site: Delete browsing, search and download history on Firefox Scroll down to 'Remove a single website from your history.'

Note that All history items (browsing and download history, cookies, cache, active logins, passwords, saved form data, exceptions for cookies, images, pop-ups) for that site will be removed.

This will allow you to start from scratch for that site. Be sure to uncheck the "Remember Me" checkbox when you log in.

Hope this helps!

Hi Adam H., Just to be clear - are you saying that Twitter is keeping you logged in? If that is the case, you might want to try Forget About This Site: [https://support.mozilla.org/en-US/kb/delete-browsing-search-download-history-firefox?redirectlocale=en-US&redirectslug=Clear+Recent+History#w_how-do-i-remove-a-single-website-from-my-history Delete browsing, search and download history on Firefox] Scroll down to 'Remove a single website from your history.' Note that All history items (browsing and download history, cookies, cache, active logins, passwords, saved form data, exceptions for cookies, images, pop-ups) for that site will be removed. This will allow you to ''start from scratch'' for that site. Be sure to uncheck the "Remember Me" checkbox when you log in. Hope this helps!
Was this helpful to you?
Quote

Question owner

Hello Mr My-Cheese-is-Slippin

that's not what I'm reporting - the last 2 paragraphs make it clear enough I think. Try it for yourself. I'm pretty sure the functionality implied by "Delete cookies and site data when Firefox is closed" should do what I want without the extra steps you're suggesting.

Hello Mr My-Cheese-is-Slippin that's not what I'm reporting - the last 2 paragraphs make it clear enough I think. Try it for yourself. I'm pretty sure the functionality implied by "Delete cookies and site data when Firefox is closed" should do what I want without the extra steps you're suggesting.
Was this helpful to you?
Quote
cor-el
  • Top 10 Contributor
  • Moderator
17343 solutions 156777 answers

It is possible that Twitter uses local storage to store data and this isn't available with "allow for session".

You can exclude the cookies from being saved as part of session data. You can modify this pref on the about:config page.

  • browser.sessionstore.privacy_level = 2

You can open the about:config page via the location/address bar. You can accept the warning and click "I accept the risk!" to continue.

It is possible that Twitter uses local storage to store data and this isn't available with "allow for session". You can exclude the cookies from being saved as part of session data. You can modify this pref on the <b>about:config</b> page. *browser.sessionstore.privacy_level = 2 You can open the <b>about:config</b> page via the location/address bar. You can accept the warning and click "I accept the risk!" to continue. *https://support.mozilla.org/en-US/kb/about-config-editor-firefox
Was this helpful to you?
Quote

Question owner

I'd rather not configure FF's internal workings unless I know it is really never going to work the way it says it should. Do you actually appreciate the problem? When I exit FF with twitter open in a tab, this cookie-purging stuff doesn't work. If I want to log out, I have to make sure I close the tab that twitter is in and then I can close FF and it works as expected.

I'd rather not configure FF's internal workings unless I know it is really never going to work the way it says it should. Do you actually appreciate the problem? When I exit FF with twitter open in a tab, this cookie-purging stuff doesn't work. If I want to log out, I have to make sure I close the tab that twitter is in and then I can close FF and it works as expected.
Was this helpful to you?
Quote
cor-el
  • Top 10 Contributor
  • Moderator
17343 solutions 156777 answers
See: http://kb.mozillazine.org/browser.sessionstore.privacy_level
Was this helpful to you?
Quote
My_Cheese_Is_Slippin'
  • Top 10 Contributor
39 solutions 453 answers

Hi Adam H., The 'cookie-purging stuff' is not what you think it is. Preferences->Cookies&Site Data->Manage Permissions list, with "Allow for Session" overrides any limitations which are set in the Content Blocking section above it. Notice that they are Exceptions. There is no auto-delete of Cookies & Site Data.

Hi Adam H., The 'cookie-purging stuff' is not what you think it is. Preferences->Cookies&Site Data->Manage Permissions list, with "Allow for Session" overrides any limitations which are set in the Content Blocking section above it. Notice that they are Exceptions. There is no auto-delete of Cookies & Site Data.
Was this helpful to you?
Quote
jscher2000
  • Top 10 Contributor
8577 solutions 70124 answers

Adam H. said

When I exit FF with twitter open in a tab, this cookie-purging stuff doesn't work. If I want to log out, I have to make sure I close the tab that twitter is in and then I can close FF and it works as expected.

Are you using Restore Previous Session? The session history files stores session cookies so that restored tabs pick up where you left off. This extends the definition of "session" from the original session to the restored/continued session.

''Adam H. [[#answer-1235520|said]]'' <blockquote> When I exit FF with twitter open in a tab, this cookie-purging stuff doesn't work. If I want to log out, I have to make sure I close the tab that twitter is in and then I can close FF and it works as expected. </blockquote> Are you using Restore Previous Session? The session history files stores session cookies so that restored tabs pick up where you left off. This extends the definition of "session" from the original session to the restored/continued session.
Was this helpful to you?
Quote

Question owner

OK, I see it's a lot more complicated than I thought. Thanks for the info.

OK, I see it's a lot more complicated than I thought. Thanks for the info.
Was this helpful to you?
Quote
Ask a question

You must log in to your account to reply to posts. Please start a new question, if you do not have an account yet.