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

搜索 | 用户支持

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

详细了解

Is there a way to clear cookies when browser is closed and still keep logged in websites like youtube, facebook, twiter...?

more options

I love the ability to see and manage each cookie that is stored while browsing. But every time I close Firefox I get automatically logged out from sites such as facebook, youtube, twiter... I've been trying out changing the settings and figured that I have to choose to either delete cookies and get automatically logged out or keep my sessions logged but not erasing cookies whenever I close Firefox.

My question is, is there a way to keep erasing cookies but keep the ones that make me stay logged in those websites?

I love the ability to see and manage each cookie that is stored while browsing. But every time I close Firefox I get automatically logged out from sites such as facebook, youtube, twiter... I've been trying out changing the settings and figured that I have to choose to either delete cookies and get automatically logged out or keep my sessions logged but not erasing cookies whenever I close Firefox. My question is, is there a way to keep erasing cookies but keep the ones that make me stay logged in those websites?

所有回复 (3)

more options

Your ‘logged-in’ status is stored in special cookies. If the cookie is removed, you are logged out.

Type about:preferences#privacy<enter> in the address bar. The button next to History, select Use Custom Settings.

At the bottom of the page, turn on Clear History When Firefox Closes. At the far right, press the Settings button. Turn on ONLY Cache and Form And Search History leaving the others off.

Note: Active Logins are the special cookies.

more options

You need to use "Delete cookies and site data when Firefox is closed" to let cookies expire automatically in case you want to keep cookies with an allow exception. If you use "Clear history when Firefox closes" then all cookies are cleared regardless of an exception.

  • clearing "Site Preferences" clears exceptions for cookies, images, pop-up windows, and software installation and exception for password and other website specific data
  • clearing "Cookies" will remove all selected cookies including cookies with an Allow exception you may want to keep

由cor-el于修改

more options

Here's a picture to go with the first part of cor-el's reply: