Join the AMA (Ask Me Anything) with the Firefox leadership team to celebrate Firefox 20th anniversary and discuss Firefox’s future on Mozilla Connect. Mark your calendar on Thursday, November 14, 18:00 - 20:00 UTC!

Ce site disposera de fonctionnalités limitées pendant que nous effectuons des opérations de maintenance en vue de vous proposer un meilleur service. Si un article ne règle pas votre problème et que vous souhaitez poser une question, notre communauté d’assistance est prête à vous répondre via @FirefoxSupport sur Twitter, et /r/firefox sur Reddit.

Rechercher dans l’assistance

Évitez les escroqueries à l’assistance. Nous ne vous demanderons jamais d’appeler ou d’envoyer un SMS à un numéro de téléphone ou de partager des informations personnelles. Veuillez signaler toute activité suspecte en utilisant l’option « Signaler un abus ».

En savoir plus

Restoring Previous Session Not Possible

  • 3 réponses
  • 1 a ce problème
  • 1 vue
  • Dernière réponse par danielg11

more options

I have two opened Firefox windows and automatic restoring of the previous browser session at startup enabled. Once I closed one Firefox window and restarted Firefox (the other window remained open), the session didn't get restored. Also, the button "Restore Previous Session" in the history didn't appear. So, there was no way to restore my session. It would be nice if you could fix this bug since my last session contained some important tabs which are all lost now :(

I have two opened Firefox windows and automatic restoring of the previous browser session at startup enabled. Once I closed one Firefox window and restarted Firefox (the other window remained open), the session didn't get restored. Also, the button "Restore Previous Session" in the history didn't appear. So, there was no way to restore my session. It would be nice if you could fix this bug since my last session contained some important tabs which are all lost now :(

Solution choisie

danielg11 said

Once I closed one Firefox window and restarted Firefox (the other window remained open), the session didn't get restored.

How did you restart Firefox?

Also, the button "Restore Previous Session" in the history didn't appear. So, there was no way to restore my session.

You could check the menu for closed windows. Either:

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

Note: Each window also has its own Recently Closed Tabs list.


If that doesn't help and this occurred recently:

Could you start by making a backup of your existing session history files? Here's how:

(1) To open your profile folder...

If Firefox is still running:

You can open your current Firefox settings (AKA Firefox profile) folder using either

  • "3-bar" menu button > "?" Help > Troubleshooting Information
  • (menu bar) Help > Troubleshooting Information
  • type or paste about:support in the address bar and press Enter

In the first table on the page, find the Profile Folder row. On that row, click the "Open Folder" button. This should launch Windows' File Explorer listing the contents of your current profile folder.

(2) Copy out session history files

In your profile folder, double-click into the sessionstore-backups folder. Save all files here to a safe location such as your Documents folder.

(3) What files did you find?

The kinds of files you may find among your sessionstore files are:

  • recovery.jsonlz4: the windows and tabs in your currently live Firefox session (or, if Firefox crashed at the last shutdown and is still closed, your last session)
  • recovery.baklz4: a backup copy of recovery.jsonlz4
  • previous.jsonlz4: the windows and tabs in your last Firefox session
  • upgrade.jsonlz4-build_id: the windows and tabs in the Firefox session that was live at the time of your last update

Could you take a look at what you have and the date/time of the various files to see whether you think any of them would have the missing tabs?

If you want to preview the contents of one of these compressed files, I have a tool for that on my website. You can drag and drop it onto the box on this page, then click Scrounge URLs:

https://www.jeffersonscher.com/ffu/scrounger.html

If you don't get a list within 15 seconds, that probably means the script is caught in a loop. You may need to close the tab to avoid a tab crash and then try again in a new tab.

If you get a useful list, use the Save List button to archive it as a web page of clickable links for future reference, in case no other approach is successful.

Lire cette réponse dans son contexte 👍 1

Toutes les réponses (3)

more options

Solution choisie

danielg11 said

Once I closed one Firefox window and restarted Firefox (the other window remained open), the session didn't get restored.

How did you restart Firefox?

Also, the button "Restore Previous Session" in the history didn't appear. So, there was no way to restore my session.

You could check the menu for closed windows. Either:

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

Note: Each window also has its own Recently Closed Tabs list.


If that doesn't help and this occurred recently:

Could you start by making a backup of your existing session history files? Here's how:

(1) To open your profile folder...

If Firefox is still running:

You can open your current Firefox settings (AKA Firefox profile) folder using either

  • "3-bar" menu button > "?" Help > Troubleshooting Information
  • (menu bar) Help > Troubleshooting Information
  • type or paste about:support in the address bar and press Enter

In the first table on the page, find the Profile Folder row. On that row, click the "Open Folder" button. This should launch Windows' File Explorer listing the contents of your current profile folder.

(2) Copy out session history files

In your profile folder, double-click into the sessionstore-backups folder. Save all files here to a safe location such as your Documents folder.

(3) What files did you find?

The kinds of files you may find among your sessionstore files are:

  • recovery.jsonlz4: the windows and tabs in your currently live Firefox session (or, if Firefox crashed at the last shutdown and is still closed, your last session)
  • recovery.baklz4: a backup copy of recovery.jsonlz4
  • previous.jsonlz4: the windows and tabs in your last Firefox session
  • upgrade.jsonlz4-build_id: the windows and tabs in the Firefox session that was live at the time of your last update

Could you take a look at what you have and the date/time of the various files to see whether you think any of them would have the missing tabs?

If you want to preview the contents of one of these compressed files, I have a tool for that on my website. You can drag and drop it onto the box on this page, then click Scrounge URLs:

https://www.jeffersonscher.com/ffu/scrounger.html

If you don't get a list within 15 seconds, that probably means the script is caught in a loop. You may need to close the tab to avoid a tab crash and then try again in a new tab.

If you get a useful list, use the Save List button to archive it as a web page of clickable links for future reference, in case no other approach is successful.

more options

Only the last closed window gets restored. Use one of these to close Firefox if you are currently doing that by clicking the close X on the Firefox Title bar to avoid losing tabs because of an unnoticed pop-up window.

  • "3-bar" menu button -> Exit (Power button)
  • Windows: File -> Exit
  • Mac: Firefox -> Quit Firefox
  • Linux: File -> Quit
more options

Thank you so much for your detailled answers! I found a backup of my last Firefox update in June 25 and now almost all of my tabs are saved :)