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

搜尋 Mozilla 技術支援網站

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

了解更多

restore previous session doesn't work

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

more options

Every time Firefox crashes or I end the session when I reopen firefox the "Restore Previous Session" does not come up in the tab it just gives me a blank "New Tab" and the 3 bar "Restore Previous Session" is greyed out. I have gone through the solutions on the Restore Previous Session page but none of them helped and I have selected that Firefox should bring up Restore Previous Session but it just doesn't. I have only had this problem after I had updated recently to the firefox quantum 58.0.2 (64-bit) before the update I never had this issue.

Every time Firefox crashes or I end the session when I reopen firefox the "Restore Previous Session" does not come up in the tab it just gives me a blank "New Tab" and the 3 bar "Restore Previous Session" is greyed out. I have gone through the solutions on the Restore Previous Session page but none of them helped and I have selected that Firefox should bring up Restore Previous Session but it just doesn't. I have only had this problem after I had updated recently to the firefox quantum 58.0.2 (64-bit) before the update I never had this issue.

所有回覆 (4)

more options

by 3 bar I mean the menu drop down options the Restore Previous Session is greyed out

more options

Means that in a crash everything is lost. Did you also check your History settings to be sure none of the options boxes were checked as well? If they are that will also clear any sessions and histories and tabs as well.

more options

yes I checked the options boxes that's one of the first things the Restore Previous Sessions help page suggests I check.

more options

Make sure you do not run Firefox in permanent Private Browsing mode (Always use Private Browsing mode; Never Remember History).

  • Options/Preferences -> Privacy & Security -> Firefox will: "Use custom settings for history"
  • remove checkmark: [ ] "Always use Private Browsing mode"

Try the "Show my windows and tabs from last time" startup setting because that is more reliable then the other startup settings.

Do you see the normal files in the sessionstore-backups folder?

Firefox uses the sessionstore.jsonlz4 file in the profile folder to store session data. The sessionstore.jsonlz4 file is only present when Firefox is closed. The sessionstore.jsonlz4 file is created from recovery.jsonlz4 when you close Firefox and is removed and copied to previous.jsonlz4 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.jsonlz4 (cleanBackup: copy of sessionstore.jsonlz4 from previous session that was loaded successfully)
  • recovery.jsonlz4 (latest version of sessionstore.jsonlz4 written during runtime)
  • recovery.baklz4 (previous version of sessionstore.jsonlz4 written during runtime)
  • upgrade.jsonlz4-<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.jsonlz4 to replace the current file (make sure to backup the current sessionstore.jsonlz4).

Firefox 56+ releases compress the files in the sessionstore-backups folder and sessionstore.jsonlz4 with LZ4 (.jsonlz4 instead of .js), so it is no longer easy to inspect them.

See also: