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

搜索 | 用户支持

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

详细了解

Why is Firefox showing tabs from last session when computer was shut down?

  • 5 个回答
  • 4 人有此问题
  • 4 次查看
  • 最后回复者为 varlotto

more options

Whenever I shut down my computer and start it back up Firefox brings up my last session even though I do not have the option checked to save my last session in Options>General>When Firefox Starts.

Whenever I shut down my computer and start it back up Firefox brings up my last session even though I do not have the option checked to save my last session in Options>General>When Firefox Starts.

被采纳的解决方案

I just remembered that last update firefox.exe kept running in the processes and that must've been what was making it think Firefox was still open while shutting down. After updating to the new version it hasn't happened.

定位到答案原位置 👍 0

所有回复 (5)

more options

When you shut your PC down without closing Firefox first, Firefox thinks it crashed and when you restart it the previous session is automatically restored. That is how Firefox is designed to work. Best the Exit Firefox before turning your PC off.

more options

I shut down firefox before i shut off my pc

more options

There is software like Advanced SystemCare with its Surfing Protection feature that can protect files in the Firefox profile folder against changes. If you have such software then check the settings or uninstall this software.

You can check if you have a user.js file in the Firefox profile folder that sets the browser.sessionstore.resume_session_once pref to true.

See also:


You can check for problems with the sessionstore.js file in the profile folder that stores session data. When sessionstore.js is deleted you lose pinned tabs and Tab Groups and open tabs and you will have to recreate them, so if necessary make a note or bookmark them.

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

more options

One way to diagnose whether Firefox thinks it is crashing at shutdown is to set a different post-crash startup behavior. Rather than trying to restore automatically, Firefox will display a list of windows and tabs you had open before and ask whether you want to restore them or start a new session. Here's how you get to that, if you want to try it:

(1) In a new tab, type or paste about:config in the address bar and press Enter/Return. Click the button promising to be careful.

(2) In the search box above the list, type or paste sess and pause while the list is filtered

(3) Double-click the browser.sessionstore.max_resumed_crashes preference and change its value from 1 to 0 (zero) and click OK

Please be careful not to change other session restore settings so that you can preserve this option for when you really need it.

more options

选择的解决方案

I just remembered that last update firefox.exe kept running in the processes and that must've been what was making it think Firefox was still open while shutting down. After updating to the new version it hasn't happened.