ابحث في الدعم

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

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 have this problem
  • 1 view
  • آخر ردّ كتبه 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?

All Replies (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

Modified by 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