X
點擊此處開啟此網站的行動版。

技術支援討論區

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

已張貼

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?
引用

額外的系統細節

已安裝的外掛程式

  • Shockwave Flash 32.0 r0

應用程式

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

更多資訊

My_Cheese_Is_Slippin'
  • Top 10 Contributor
39 個解決方法 433 個答案

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!
這篇文章有幫助嗎?
引用

提出問題者

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.
這篇文章有幫助嗎?
引用
cor-el
  • Top 10 Contributor
  • Moderator
17334 個解決方法 156728 個答案

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
這篇文章有幫助嗎?
引用

提出問題者

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.
這篇文章有幫助嗎?
引用
cor-el
  • Top 10 Contributor
  • Moderator
17334 個解決方法 156728 個答案
See: http://kb.mozillazine.org/browser.sessionstore.privacy_level
這篇文章有幫助嗎?
引用
My_Cheese_Is_Slippin'
  • Top 10 Contributor
39 個解決方法 433 個答案

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.
這篇文章有幫助嗎?
引用
jscher2000
  • Top 10 Contributor
8569 個解決方法 70084 個答案

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.
這篇文章有幫助嗎?
引用

提出問題者

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.
這篇文章有幫助嗎?
引用
問個問題

如果您還沒有帳號,您必須先 登入您的帳號 來回覆文章。請 開始一個新問題