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.

ابحث في الدعم

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

Can we have an option to restore the previous - previous session please?

  • 8 ردود
  • 3 have this problem
  • 3 views
  • آخر ردّ كتبه PBC

more options

When i switch on my computer i have to make sure that i open Firefox and restore the previous session before i do anything else.

For example, if you click on a link in an email - and if Firefox is not open - then it will open Firefox and you have lost access to your previous session tabs.

Yesterday, when i switched on the computer Adobe wanted to remove a program - so i uninstalled the program and then it opened a page in Firefox so i lost 50 tabs. Sigh.

SUGGESTION As well as having the option to restore the previous session could we please have the option to restore the session before that? I think this will make a lot of people very happy.

When i switch on my computer i have to make sure that i open Firefox and restore the previous session before i do anything else. For example, if you click on a link in an email - and if Firefox is not open - then it will open Firefox and you have lost access to your previous session tabs. Yesterday, when i switched on the computer Adobe wanted to remove a program - so i uninstalled the program and then it opened a page in Firefox so i lost 50 tabs. Sigh. SUGGESTION As well as having the option to restore the previous session could we please have the option to restore the session before that? I think this will make a lot of people very happy.

All Replies (8)

more options
more options

I know there is a procedure that can be used to restore the previous - previous session in Firefox but it takes a lot of work. It would be greatly appreciated by lots of people if in the drop down menu at the top right of the page if there is also the option to restore the previous - previous session. I an not an IT engineer so i don't know what is involved in terms of coding but even in Photoshop there is a undo and step back options that can be clicked multiple times until you get back to the desired previous session.

more options

Hi,

The people who answer questions here, for the most part, are other users volunteering their time (like me), not Mozilla employees or Firefox developers.

If you want to leave feedback for Firefox developers, you can go to the Firefox Help menu and select Submit Feedback... or use this link. Your feedback gets collected by a team of people who read it and gather data about the most common issues.

You can also file a bug report or feature request for Firefox and other Mozilla products. See File a bug report or feature request for Mozilla products for details.

more options

I had a load of pinned tabs and open tabs in my last session. The pinned tabs were very important which is why I pinned them. Yesterday, I had to give remote access to a Microsoft tech and that opened another window. Later in the evening, I closed Firefox and then found this second window underneath. As you have probably guessed, I have lost everything because Firefox sees that extra chat window as my last session.

Is there any way I can recover the genuine last session please?

more options

You should find "Restore Previous Session" in the History menu drop-down list and in the "3-bar" Firefox menu button drop-down list.

You can also create a backup of sessionstore.jsonlz4 in the profile folder and the files in the sessionstore-backups folder.

You will normally find these files in the sessionstore-backups folder:

  • previous.jsonlz4 (cleanBackup: copy of sessionstore.jsonlz4 from previous session that was loaded successfully)
  • recovery.jsonlz4 (latest version of sessionstore.jsonlz4 written during runtime)
  • recovery.baklz4 (previous version of sessionstore.jsonlz4 written during runtime)
  • upgrade.jsonlz4-<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.jsonlz4 to replace the current file with Firefox closed (make sure to backup the current sessionstore.jsonlz4).

more options

Thank you for your reply, cor-el. The last suggestion may have solved the problem however, I noticed in another post here about the same issue that an addon exists called "Session Boss" which provides access to multiple previous sessions with a single click. After installing that, the problem was solved because it also has an export option which allowed me to install it on both my PC's and export the session from one to the other.

For what it is worth, this solution was brilliant because, although Sync allows me to copy addons to my other PC, it would not keep the sessions synchronized. Now they are! :)

more options

PBC said

Yesterday, I had to give remote access to a Microsoft tech and that opened another window. Later in the evening, I closed Firefox and then found this second window underneath. As you have probably guessed, I have lost everything because Firefox sees that extra chat window as my last session.

When that happens, immediately check one of these places:

  • "3-bar" menu button > Library > History > Recently Closed Windows
  • "Library" toolbar button > History > Recently Closed Windows
  • (menu bar) History > Recently Closed Windows

Or you can use the keyboard shortcut Ctrl+Shift+N to re-open the last closed non-private window.

Firefox remembers up to 3 closed non-private windows. You can increase that*, but since you use Session Boss now, it's probably not necessary.

* This preference in about:config: browser.sessionstore.max_windows_undo

more options

Thank you for the tip. In my case it was not possible because I had closed Firefox. Only after Firefox had shut down did I see the remaining pop-up window from the Microsoft chat session.