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

搜尋 Mozilla 技術支援網站

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

了解更多

I have Firefox 54.1 set to “Show your windows and tabs from last time” but when I re-open Firefox, it doesn’t show my windows and tabs from last time - I also h

  • 1 回覆
  • 4 有這個問題
  • 1 次檢視
  • 最近回覆由 cor-el

more options

I had Firefox 54.0 set to “Show your windows and tabs from last time” but when I re-open Firefox, it doesn’t show my windows and tabs from last time - even though it's still set on “Show your windows and tabs from last time”. I also have my home page set to open my AOL Mail and when I restart Firefox, that setting has changed to Norton as my home page. I've upgraded to Firefox 54.1 to see if that would help but I am still having the same issues. All of this has started in the last couple of weeks. How do I fix this?

I had Firefox 54.0 set to “Show your windows and tabs from last time” but when I re-open Firefox, it doesn’t show my windows and tabs from last time - even though it's still set on “Show your windows and tabs from last time”. I also have my home page set to open my AOL Mail and when I restart Firefox, that setting has changed to Norton as my home page. I've upgraded to Firefox 54.1 to see if that would help but I am still having the same issues. All of this has started in the last couple of weeks. How do I fix this?

所有回覆 (1)

more options

In case you use "Clear history when Firefox closes".

  • do not clear the Browsing History

This is because that setting overrides your Session Restore setting.

  • 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

If this isn't working then use one of these to close Firefox if you are currently doing that by clicking the close X on the Firefox title bar.

  • "3-bar" menu button -> Exit (Power button)
  • Windows: File -> Exit
  • Mac: Firefox -> Quit Firefox
  • Linux: File -> Quit

You can also check if Firefox creates backups in the sessionstore-backups folder in the profile folder.

You can use the button on the "Help -> Troubleshooting Information" (about:support) page to go to the current Firefox profile folder or use the about:profiles page.

Firefox uses sessionstore.js in the profile folder to store session data. Sessionstore.js is only present when Firefox is closed. The sessionstore.js file is created from recovery.js when you close Firefox and is removed and copied to previous.js when you start Firefox to make is possible to restore the session at any time.

You will normally find these files in the sessionstore-backups folder:

  • previous.js (cleanBackup: copy of sessionstore.js from previous session that was loaded successfully)
  • recovery.js (latest version of the sessionstore written during runtime)
  • recovery.bak (previous version of the sessionstore written during runtime)
  • upgrade.js-<build_id> (backup created during an upgrade of Firefox)

You can copy a file from the sessionstore-backups folder to the main profile and rename the file to sessionstore.js to replace the current file (make a backup copy of the current sessionstore.js).

See also: