為了改善您的使用體驗,本網站正在進行維護,部分功能暫時無法使用。若本站的文件無法解決您的問題,想要向社群發問的話,請到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 發問,我們的社群成員將很快會回覆您的疑問。

搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

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.