Цей вебсайт матиме обмежену функціональність, доки ми проводимо його обслуговування для поліпшення роботи. Якщо прочитана стаття не розв'язала вашу проблему і ви хочете поставити питання, наша спільнота підтримки з радістю допоможе вам на @FirefoxSupport у Twitter та /r/firefox на Reddit.

Шукати в статтях підтримки

Остерігайтеся нападів зловмисників. Mozilla ніколи не просить вас зателефонувати, надіслати номер телефону у повідомленні або поділитися з кимось особистими даними. Будь ласка, повідомте про підозрілі дії за допомогою меню “Повідомити про зловживання”

Докладніше

Ця тема перенесена в архів. Якщо вам потрібна допомога, запитайте.

Troubleshooting Session-Restore

  • 3 відповіді
  • 0 мають цю проблему
  • 24 перегляди
  • Остання відповідь від cor-el

more options

I run Window 10 and love session restore in Firefox, as I usually like about 15 of my usual tabs open each session. Though Firefox restores these tabs successfully, it often also restores long-closed tabs that were no longer open during my previous session, sometimes resulting in my having over a hundred tabs open which I have to manually close. How do I stop Firefox from 'restoring' tabs that were no longer open when I last powered-down my computer?

I run Window 10 and love session restore in Firefox, as I usually like about 15 of my usual tabs open each session. Though Firefox restores these tabs successfully, it often also restores long-closed tabs that were no longer open during my previous session, sometimes resulting in my having over a hundred tabs open which I have to manually close. How do I stop Firefox from 'restoring' tabs that were no longer open when I last powered-down my computer?

Усі відповіді (3)

more options

short version: how do I limit session-restore to only restoring my previous session, and not opening older tabs also?

more options

Normally when you exit Firefox, it accurately notes which windows and tabs were open so that when you restore, it reflects that state in the session history file. If you are getting rolled back to a different point, there might have been a problem with the latest file, so Firefox had to fall back to an older one. Or... gremlins.

You could try hiding all of the older files after your next shutdown and see whether that helps work around this problem. Here's how:

Before using the Exit command:

Open your profile folder from the Troubleshooting Information page. Either:

  • "3-bar" menu button > Help > More Troubleshooting Information
  • (menu bar) Help > More 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 and click the "Open Folder" button. This should launch Windows' File Explorer listing the contents of your current profile folder.

Leaving that window open, switch back over to Firefox and use either

  • menu > Exit
  • (menu bar) File > Exit

After Firefox shuts down:

A new file should have appeared in the profile folder in Windows File Explorer:

sessionstore.jsonlz4

(It's a compressed file, so you can't easily check its contents, but it should have a fresh date/time.)

Assuming that is all good:

Right-click the sessionstore-backups folder, click Rename, and add OLD to the end, to hide it from Firefox:

sessionstore-backupsOLD

Firefox will create a new sessionstore-backups folder when you start it up again, but in case something goes wrong, we can help you mine the OLD folder for windows/tabs as needed.

It may take some time to know whether this cures the problem or whether it will recur randomly.


We have had two threads, I think, in recent years about users whose real-time session history file (recovery.jsonlz4, kept in the sessionstore-backups file while Firefox is running) suddenly stopped updating in mid-session. I can't recall whether this was ever solved.


By the way, if you don't normally use the Exit command, but let Windows tell Firefox to close itself, if Firefox isn't prompt, it may get terminated by the system, i.e., crash. This can lead to unpredictable results.

more options

If you close Firefox directly after closing a lot of tabs then the sessionstore files may not get update. You can try to wait a bit longer before closing Firefox to ensure that the sessionstore files gets updated properly, especially in case when a lot of tabs and windows need to be saved.