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

搜索 | 用户支持

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

详细了解

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: