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

搜索 | 用户支持

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

详细了解

Should I clear browser cookies or log out manually if I want to log out of all accounts?

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

more options

I know that clearing browser cookie regularly is a good practice, but I am a bit curious if clearing out those session cookies is the same as if you log out of all the accounts manually.

Because logging out manually will make both local and server side session cookies invalid, thus log out safely.

Meanwhile clearing browser cookies only delete local side session cookie, while the session cookie on the server remains. Which means the session is still valid.

So do I clear browser cookies or log out manually if I want to log out of all accounts?

I know that clearing browser cookie regularly is a good practice, but I am a bit curious if clearing out those session cookies is the same as if you log out of all the accounts manually. Because logging out manually will make both local and server side session cookies invalid, thus log out safely. Meanwhile clearing browser cookies only delete local side session cookie, while the session cookie on the server remains. Which means the session is still valid. So do I clear browser cookies or log out manually if I want to log out of all accounts?

由wmchung9于修改

被采纳的解决方案

If you do not logout but only clear the cookies then the website still stores your session ID, so best is to logout to ensure that the session ID is cleared as well and can't be reused.

定位到答案原位置 👍 1

所有回复 (2)

more options

If you are talking about websites that save your personal information (banks, stores . . .) we recommend logging out. Other sites that do not save your personal information (Mozilla, Youtube . . .) you don't need to log out of unless you want to.


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

Turn on Remember My Browsing And Download History At the bottom of the page, turn on Clear History When Firefox Closes. At the far right, press the Settings button. Turn on Cache and Form And Search History and whatever else you want.

more options

选择的解决方案

If you do not logout but only clear the cookies then the website still stores your session ID, so best is to logout to ensure that the session ID is cleared as well and can't be reused.