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

搜索 | 用户支持

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

详细了解

What is the difference between "Allowing a site's cookies for Session" and "Allowing a site's cookies"?

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

more options

Does "Allow Cookies for Session" (under Privacy and Security > Cookies and Site Data > Manage Permissions) mean that Firefox will only store websites cookies that are used to remember that we are signed in or does it mean that it will only remember cookies for a website until I close the browser? Does session mean: 1) The active session until I close the browser; 2) The session/fact that I'm logged in to a website?

Does "Allow Cookies for Session" (under Privacy and Security > Cookies and Site Data > Manage Permissions) mean that Firefox will only store websites cookies that are used to remember that we are signed in or does it mean that it will only remember cookies for a website until I close the browser? Does session mean: 1) The active session until I close the browser; 2) The session/fact that I'm logged in to a website?

被采纳的解决方案

"Allowing a site's cookies for Session" means those cookies won't be saved beyond the current session; they will be deleted as Firefox is being closed down.

With "Allowing a site's cookies" those cookies will be saved until those "time out" or until the user clears their cookies or until the user clears the cookies for that web site.

定位到答案原位置 👍 1

所有回复 (4)

more options

选择的解决方案

"Allowing a site's cookies for Session" means those cookies won't be saved beyond the current session; they will be deleted as Firefox is being closed down.

With "Allowing a site's cookies" those cookies will be saved until those "time out" or until the user clears their cookies or until the user clears the cookies for that web site.

more options

Note that you only keep cookies with a cookie allow exception if you use "Delete cookies and site data when Firefox is closed". If you use "Clear history when Firefox closes" or otherwise clear cookies then all selected cookies are cleared. In Private Browsing mode all cookies are session cookies that are removed when you close all Private Browsing windows (tabs).

more options

cor-el said

Note that you only keep cookies with a cookie allow exception if you use "Delete cookies and site data when Firefox is closed". If you use "Clear history when Firefox closes" or otherwise clear cookies then all selected cookies are cleared. In Private Browsing mode all cookies are session cookies that are removed when you close all Private Browsing windows (tabs).

Just for clarification, you're saying that if I use "Clear history when Firefox closes" then all cookies, even if I set exceptions for some sites, will be cleared, is that right? What if, in the settings for "Clear history when Firefox closes", I unchecked "Cookies"? Can you confirm that, in this case, this won't clear the cookies from sites which have an exception?

more options

Yes, if you uncheck Cookies and Site Preferences then you keep cookies with an allow exception.

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