搜索 | 用户支持

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

详细了解

Firefox froze upon reopening without going into my last session. How do I protect my last browsing session so that I can safely restart the browser?

  • 7 个回答
  • 3 人有此问题
  • 1 次查看
  • 最后回复者为 drew12

more options

Firefox froze upon reopening without going into my last session. How do I protect my last browsing session so that I can safely restart the browser?

Firefox froze upon reopening without going into my last session. How do I protect my last browsing session so that I can safely restart the browser?

所有回复 (7)

more options

Firefox uses the sessionstore.js file in the profile folder to store session data, but this file 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.

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


Location used for the main profile in "AppData\Roaming".

  • C:\Users\<user>\AppData\Roaming\Mozilla\Firefox\Profiles\<profile>\
more options

So does that mean since Firefox is currently open, the previous session is gone forever?

Although FF is still open, all that is showing is a small bar with the option to minimize or close. The expand icon is grayed out

more options

So does that mean since Firefox is currently open, the previous session is gone forever?

Although FF is still open, all that is showing is a small bar with the option to minimize or close. The expand icon is grayed out

由drew12于修改

more options

You could try to backup sessionstore.js and the files in the sessionstore-backups folder if they look large enough that they could contain useful data.

You can open the file in the Scratchpad ("3-bar" menu button or Tools > Web Developer) to check its content. Click the "Pretty Print" button on its toolbar to format the file for readability.

Also check "History > Recently Closed Tabs/Windows".

If none of the files contain useful session data then I'm afraid that this data is lost.

See also:

more options

Is it possible that FF could unfreeze and then I could click on the top right menu to reopen last browsing session?

more options

Did you check any of the existing files in the Scratchpad to see if any have this session data?

more options

The files are not there