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

搜索 | 用户支持

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

详细了解

Problems with restore sessions

  • 3 个回答
  • 1 人有此问题
  • 1 次查看
  • 最后回复者为 cor-el

more options

The battery of my laptop doesn´t work anymore so it needs to be plugged all the time. I know that fixing/changing the battery will solve my problem. The problem is that everytime my battery dies i have to restart my laptop and lately when i want to restore my firefox session it wont restore my latest session, it restore a session from a few weeks a go and its really a pain in the ass because i usually have a bunch of tabs open and it takes a while to search and re-open the tabs that i was using. Anyone know how i can solve/fix this issue? Thanks in advance

The battery of my laptop doesn´t work anymore so it needs to be plugged all the time. I know that fixing/changing the battery will solve my problem. The problem is that everytime my battery dies i have to restart my laptop and lately when i want to restore my firefox session it wont restore my latest session, it restore a session from a few weeks a go and its really a pain in the ass because i usually have a bunch of tabs open and it takes a while to search and re-open the tabs that i was using. Anyone know how i can solve/fix this issue? Thanks in advance

所有回复 (3)

more options

You may have corrupt sessionstore [v56] sessionstore.jsonlz4 file(s). Delete all sessionstore* files and the sessionstore-backups folder.

Type about:support<enter> in the address bar.

Under the page logo on the left side, you will see Application Basics. Under this find Profile Folder. To its right press the button Show Folder. This will open your file browser to the current Firefox profile. Now Close Firefox.

Windows: Show Folder; Linux: Open Directory; Mac: Show in Finder

Linux: Under the page logo on the left side, you will see Application Basics. Under this find Profile Directory. To its right press the button Open Directory.

Locate the above file. Then rename or delete it. Restart Firefox.


Don't delete the files if you need to rescue any data from them, just move them out of the profile folder to some location where Firefox doesn't look for them. You can try to read out their contents using this tool: https://www.jeffersonscher.com/res/scrounger.html

more options

You should also run disk scanners to check for errors.


How To Use Microsoft ScanDisk {web link}


Perform a System File Check to fix corrupted system files

Win 7, 8, 10, Vista: https://support.microsoft.com/en-us/kb/929833 Win XP: https://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/system_file_checker.mspx?mfr=true

Wiki - Windows 10 System File Check http://answers.microsoft.com/en-us/windows/wiki/windows_10-update/system-file-check-sfc-scan-and-repair-system-files/bc609315-da1f-4775-812c-695b60477a93

more options

When Firefox isn't closed properly when the battery dies then a new sessionstore.jsonlz4 isn't created and Firefox may restore an older session on the next start. In such a case the files in sessionstore-backups folder might be useful, but it might be better to use a sessionstore extension.


Backup the session files in the sessionstore-backups folder in the Firefox profile folder to make sure not to lose possible important session data. Do NOT close Firefox when Firefox is already running.

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).

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.