為了改善您的使用體驗,本網站正在進行維護,部分功能暫時無法使用。若本站的文件無法解決您的問題,想要向社群發問的話,請到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 發問,我們的社群成員將很快會回覆您的疑問。

搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

Session restore fails when using multiple profiles

more options

We use several FF profiles, one for each family member, on the same computer, usually they are open at the same time. Now if FF crashes for some reason or there is a power outage, sometimes session restore only works for one profile that is restarted first, while the others lose all the tabs that were open last time. Now I have a feeling that this is much more likely to happen if the browser was recently updated (it happened several times on the first restart after the update). I reckon that this might have something to do with the session restore only restoring one of the opened windows (which, as I understand, is now fixed). In each of the profiles the automatic session restore is set on.

We use several FF profiles, one for each family member, on the same computer, usually they are open at the same time. Now if FF crashes for some reason or there is a power outage, sometimes session restore only works for one profile that is restarted first, while the others lose all the tabs that were open last time. Now I have a feeling that this is much more likely to happen if the browser was recently updated (it happened several times on the first restart after the update). I reckon that this might have something to do with the session restore only restoring one of the opened windows (which, as I understand, is now fixed). In each of the profiles the automatic session restore is set on.

所有回覆 (2)

more options

Hi dr..... just try this....


   Close the Firefox browser. Make sure no instance of the browser is running.
   Open the profile folder and rename the current session file sessionstore.jsonlz4 to sessionstore-backup.jsonlz4.
   Open the sessionstore-backups folder of the profile.
   Rename recovery.jsonlz4 to recovery-backup.jsonlz4.
   Rename recovery.backlz4 to recovery-backup.backlz4.
   Copy the session restore backup that you want to restore, e.g. previous.jsonlz4.
   Go back to the root directory of the Firefox profile.
   Paste the copied file to the root folder.
   Rename it to sessionstore.jsonlz4.
   Restart the Firefox browser.
   Firefox might pick up the session automatically. If it does not, press the Alt-key on your keyboard and select History > Restore Previous Session.
more options

Dinushi Dhananjani said

Hi dr..... just try this.... Close the Firefox browser. Make sure no instance of the browser is running. Open the profile folder and rename the current session file sessionstore.jsonlz4 to sessionstore-backup.jsonlz4. Open the sessionstore-backups folder of the profile. Rename recovery.jsonlz4 to recovery-backup.jsonlz4. Rename recovery.backlz4 to recovery-backup.backlz4. Copy the session restore backup that you want to restore, e.g. previous.jsonlz4. Go back to the root directory of the Firefox profile. Paste the copied file to the root folder. Rename it to sessionstore.jsonlz4. Restart the Firefox browser. Firefox might pick up the session automatically. If it does not, press the Alt-key on your keyboard and select History > Restore Previous Session.

I know how to do this, but this does not prevent it from happening again, which is what I am looking for.