为提升您的使用体验,本站正在维护,部分功能暂时无法使用。如果本站文章无法解决您的问题,您想要向社区提问的话,请到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 提问,我们的支持社区将会很快回复您的疑问。

搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

Firefox not deleting cache and passwords on exit as requested

  • 4 个回答
  • 1 人有此问题
  • 6 次查看
  • 最后回复者为 cor-el

more options

I have enabled the Clear history when Firefox closes option with all check boxes except clear cookies.

In previous versions of Firefox, enabling this option has led to all my accounts being logged out. Now when i close and restart Firefox, i can type Gmail into the address bar and it automatically reloads Gmail without requiring a password/re-login.

I'm running FF 27.0.1 on openSUSE 13.1 (Linux).

This is frustrating and i would like it resolved as i am concerned about security.

Thanks

I have enabled the Clear history when Firefox closes option with all check boxes except clear cookies. In previous versions of Firefox, enabling this option has led to all my accounts being logged out. Now when i close and restart Firefox, i can type Gmail into the address bar and it automatically reloads Gmail without requiring a password/re-login. I'm running FF 27.0.1 on openSUSE 13.1 (Linux). This is frustrating and i would like it resolved as i am concerned about security. Thanks

所有回复 (4)

more options

It sounds as though you are allowing Google to save a persistent cookie, and not clearing it between sessions. In that case, yes, Firefox will send the cookie to Google and the door will open...

Do you want to globally change your cookie settings to keep cookies only for the current session? You can do that in the Preferences dialog on the Privacy panel.

Edit menu > Preferences > Privacy

With the drop-down set to "Firefox will: Use custom settings for history"

Change "Keep until: they expire" to "Keep until: I close Firefox"

You may need to clear your Google cookies one time before this takes effect.

If you prefer to change your cookie lifetime setting only for Google, you can use the Permission Manager. Type or paste about:permissions in the address bar and press Enter. In the search box on the upper left side, type goog and pause while the list is filtered/rebuilt. Use the "Set Cookie" selector for google.com (and other servers if desired) to switch to Allow for Session.

more options

You may also have to delete the sessionstore.js file in the profile folder.

You can use this button to go to the currently used Firefox profile folder:

  • Help > Troubleshooting Information > Profile Directory: Show Folder (Linux: Open Directory; Mac: Show in Finder)

It is possible that the cookies.sqlite file that stores the cookies is corrupted if clearing cookies doesn't work.

Rename (or delete) cookies.sqlite (cookies.sqlite.old) and delete other present cookies files like cookies.sqlite-journal in the Firefox profile folder in case the file cookies.sqlite got corrupted.

You can delete the permissions.sqlite file to reset all permissions.

more options

Ah thanks for the useful replies. Now i realise what the problem is.

I use Google Multifactor authentication using Google Authenticator. Now in the old days (~ 6 months ago) Google used to tell you to not clear cookies if you selected the option "do not require authentication from this computer". Now i suspect Google does it automatically via Cookie settings in FF.

What this means is that now the Cookie Settings over-ride Firefox login and cache clearing. In the past it used to keep the Cookies (meaning i could avoid entering in 2nd factor authentication codes every time i logged into Google from the same computer) and also log me off when i closed FF. Now it doesn't log me out and i am logged in automatically. Kind of annoying.

about:permissions doesn't really give me the ability to preserve an option where it will log me out, whilst remembering not to ask me for authentication codes.

Hope this is clear. I really don't want to have to remember to log out every time i close FF. I know that's only a small extra step, but i usually forget. I guess i might have to hassle Google bout this one?

more options

You can look at the CookieCuller extension.

Cookies are only protected within the CookieCuller extension, so do not use "Clear Recent History", but let the cookies expire if you close Firefox and protect the ones that you wish to keep.