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 leaves the session restore page before I can click "restore tabs"

more options

I have both a valid sessionstore.js and sessionstore.bak file from two different time periods. When I start up firefox, it shows the "restore tabs" window, but quickly moves away from it to my homepage. I cannot stop it from doing this, and clicking "restore tabs" does nothing. How do I force Firefox to restore from the file and not have it navigate away from the restore page?

I have both a valid sessionstore.js and sessionstore.bak file from two different time periods. When I start up firefox, it shows the "restore tabs" window, but quickly moves away from it to my homepage. I cannot stop it from doing this, and clicking "restore tabs" does nothing. How do I force Firefox to restore from the file and not have it navigate away from the restore page?

All Replies (12)

more options

And if I cannot restore using either of these files, please point me to a way I can extract the tab information so I can switch to a different browser. This is the third time this has happened to me and I can not afford to continue using a browser that erases my tabs.

more options

Could you clarify which screen you are seeing (for a moment, before it flashes away)? Is it the "This is embarrassing" screen that lists the previous session windows and tabs, the one that typically comes up after you've crashed a few times in a row?

When this happens, is History > Restore Previous Session still available?

If History > Restore Previous Session is grayed out, are there any items under either:

  • History > Recently Closed Tabs
  • History > Recently Closed Windows
more options

Here are some threads on how to "mine" your old sessionstore.js or sessionstore.bak file to extract the URLs.

more options

So what happens is that the "This is embarrassing" screen pops up, sometimes it shows the tabs in their entirety, sometimes it shows something completely blank. As soon as this screen pops up, it immediately starts trying to go to my home page. Hitting the red X stop button does nothing. Hitting any button does nothing. At that point it erases whatever was in the sessionstore.js file and replaces it with one window, one tab, and my home page. I have the profiles folder open and I watch it overwrite the js file in real time. Restore Previous session is either grayed out or does nothing when clicking it.

more options

One other thought: since Firefox's session history is only one session deep, if you really depend on it, consider using the Session Manager extension.

https://addons.mozilla.org/firefox/addon/session-manager/

more options

At this point, I just want my tabs back. I have two different restore files and neither one works(I've tried using the .bak file and it has the same issue).

If I can't get the tabs back in Firefox, then I would at least like to extract the tab data in some meaningful format so I can switch to a browser that doesn't periodically lose all of my tabs.

more options

It JUST happened again, when I only had 7 tabs opened, and again it did the same exact thing. I'm fed up.

more options
more options

It is possible that there is a problem with the sessionstore.bak file.
Firefox copies (renames) the sessionstore.js file to sessionstore.bak when Firefox is started to make it possible to restore the previous session at any time during the current sessions and creates a new sessionstore.js file for the current session.
If this renaming fails for some reason then you won't be able to restore this previous session.
You can try to delete the sessionstore.bak file.

In case you use "Clear history when Firefox closes" then try to disable it because Firefox tries to do this on a next start when it has failed to complete this on the previous close (i.e. privacy.sanitize.didShutdownSanitize is not true).

more options

Well, like I said, I have two different sessionstore files. Both result in the same erroneous behavior. The fact that Firefox crashed and failed to do it a third time on a session that only had seven tabs means that it won't work for any restore. I'm just about at the point where I'm going to wash my hands of this entirely.

more options

jscher2000, the first solution worked. However since there doesn't appear to be any fix for what Firefox is doing, nor any indication as to why it is doing it, I'm giving up on the browser.

more options

This problem could be caused by an undiagnosed problem in your settings folder or in your Firefox program folder. If you decide you miss Firefox, come back for suggestions on how to work around those issues.

Before you go, perhaps you can add a note to this thread on when it started and whether it was coincident with an upgrade or other software change, or seems to have occurred completely out of the blue. This could be helpful if someone else has this problem and finds your thread in a web search.