This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn't solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter and/r/firefox on Reddit.

Search Support

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 இந்த பிரச்னைகள் உள்ளது
  • 2 views
  • Last reply by drew12

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)

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>\

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

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 மூலமாக திருத்தப்பட்டது

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:

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

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