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.

Caută ajutor

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.

Află mai multe

Acest fir de discuție a fost arhivat. Adresează o întrebare nouă dacă ai nevoie de ajutor.

Can't restore previous session despite replacing sessionstore.js

  • 4 răspunsuri
  • 11 au această problemă
  • 1 vizualizare
  • Ultimul răspuns de cor-el

more options

Despite following various routines to rename sessionstore.bak file to .old and then replacing sessionstore.js with *.bak, then re-starting Fireox, the previous session is not restored. Firefox simply ignores the "old" session and starts a new one - even if you have altered the options to open up all the previous tabs.

The session I am interested in recovering had 30 tabs open, with no tab referencing a site that would cause it to crash. This occurred through the annoying situation that occurs when another copy of Firefox is started behind the browser you are working on, and you need to close Firefox to restart your computer after installing updates.

On closure of Firefox, a warning should be made that you are 'closing' a number of tabs and warn that there are other copies of Firefox also open, before being allowed to close.

Even so, replacing the most recent sessionstore.js file with a recovered one (whether .bak, or a previous file that has been 'undeleted') should allow a restore to a previous session (on a particular date or time - even from a restored backup file).

Can someone assist with this?

Despite following various routines to rename sessionstore.bak file to .old and then replacing sessionstore.js with *.bak, then re-starting Fireox, the previous session is not restored. Firefox simply ignores the "old" session and starts a new one - even if you have altered the options to open up all the previous tabs. The session I am interested in recovering had 30 tabs open, with no tab referencing a site that would cause it to crash. This occurred through the annoying situation that occurs when another copy of Firefox is started behind the browser you are working on, and you need to close Firefox to restart your computer after installing updates. On closure of Firefox, a warning should be made that you are 'closing' a number of tabs and warn that there are other copies of Firefox also open, before being allowed to close. Even so, replacing the most recent sessionstore.js file with a recovered one (whether .bak, or a previous file that has been 'undeleted') should allow a restore to a previous session (on a particular date or time - even from a restored backup file). Can someone assist with this?

Modificat în de AJNiteOwl

Toate răspunsurile (4)

more options

On each Firefox start Firefox copies the current sessionstore.js file that has the tabs of the previous session to sessionstore.bak to make is possible to retrieve that previous session at any time during the current session via "History > Restore Previous Session".

If you do not have a copy of sessionstore.js or sessionstore.bak with that lost session then you are out of luck and can consider that session as lost.

You need to rename sessionstore.bak to sessionstore.js to make Firefox use the file.
Firefox doesn't do anything with a sessionstore.bak file apart from what I wrote above.

Make it a habit and use "Firefox/File > Exit" (Mac: "Firefox > Quit"; Linux: "File > Quit") to close Firefox if you are currently doing that by clicking the close X on the title bar to avoid getting surprised by other windows that are still open.
Only the last closed Firefox window is restored.
Other browser windows may be found under History > Recently Closed Windows.

more options

Cor-el did you even read the main issue - being the replacement of the sessionstore.js file and the inability of FF to read and restore from it?

I take your point about using the File>Exit and will try this in future to see if the problem can be avoided. Thanks.

more options

I used this moving/renaming of the sessionstore file, as well. It does not work.

What I do have, is a long string of code where I can see the information about the prior tabs, so I know the information is there.

In other words, Firefox is not using the renamed sessionstore file (from bak to js - moved from original window to folder - renamed and moved back) to restore my tabs when I open a new Firefox browser/window.

However, if I double-click on that sessionstore file, it will open up a Firefox window and display a single line at the top with this very long string of code, where I can see the actual names of the tabs I had open and pages I was visiting.

So, my question is, how do I translate all that information into separate windows/tabs.

It's there. It's just not functioning as it should (opening up multiple tabs - or restoring those tabs) when the Firefox Browser is opened.

Thank you

Modificat în de ashleyer

more options

See: