X
Нажмите здесь, чтобы перейти на мобильную версию сайта.

Форум поддержки

How do I restore Windows and tabs after computer restart.

Размещено

I have Firefox set to restore windows and tabs from last session. This works when I close and reopen Firefox. It never works if I restart my computer. How can I get Firefox to remember my session when I restart my computer?

I have Firefox set to restore windows and tabs from last session. This works when I close and reopen Firefox. It never works if I restart my computer. How can I get Firefox to remember my session when I restart my computer?

Дополнительные сведения о системе

Установленные плагины

  • Shockwave Flash 26.0 r0

Приложение

  • User Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:55.0) Gecko/20100101 Firefox/55.0

Дополнительная информация

the-edmeister
  • Top 25 Contributor
  • Moderator
5435 решений 40568 ответов
Размещено

Close Firefox first, then wait about 10 seconds for all the open files to be closed before restarting your computer.

If Firefox is running when you restart Windows chances are you are going to lose some session data due to the open files not getting closed properly.

Close Firefox first, then wait about 10 seconds for all the open files to be closed before restarting your computer. If Firefox is running when you restart Windows chances are you are going to lose some session data due to the open files not getting closed properly.
Размещено

Задавший вопрос

It worked the first time I tried it. The second time it did not. Perhaps Firefox should be set to save tabs continuously, instead of at closing.

It worked the first time I tried it. The second time it did not. Perhaps Firefox should be set to save tabs continuously, instead of at closing.
cor-el
  • Top 10 Contributor
  • Moderator
17880 решений 161769 ответов
Размещено

Firefox does save the tabs when you make changes, but Firefox saves this to the sessionstore-backups folder.


Firefox uses the sessionstore.js file in the profile folder to store session data. The sessionstore.js file is only present when Firefox is closed. The sessionstore.js file is created from recovery.js when you close Firefox and is removed and copied to previous.js when you start Firefox to make is possible to restore the session at any time.

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

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

See also:

Firefox does save the tabs when you make changes, but Firefox saves this to the sessionstore-backups folder. ----- Firefox uses the sessionstore.js file in the profile folder to store session data. The sessionstore.js file is only present when Firefox is closed. The sessionstore.js file is created from recovery.js when you close Firefox and is removed and copied to previous.js when you start Firefox to make is possible to restore the session at any time. You will normally find these files in the sessionstore-backups folder: *previous.js (cleanBackup: copy of sessionstore.js from previous session that was loaded successfully) *recovery.js (latest version of sessionstore.js written during runtime) *recovery.bak (previous version of sessionstore.js written during runtime) *upgrade.js-<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.js to replace the current file (make a backup copy of the current sessionstore.js). See also: *http://www.ghacks.net/2014/06/27/mozilla-launches-improved-session-restore-firefox-33/
Размещено

Задавший вопрос

This has been an ongoing issue. I appreciate all the work around solutions, but I just want my tabs to show up when I open Firefox, not play with a bunch of file manipulations to get them to reappear. It seems Mozilla could fix this problem. And I hope they do.

This has been an ongoing issue. I appreciate all the work around solutions, but I just want my tabs to show up when I open Firefox, not play with a bunch of file manipulations to get them to reappear. It seems Mozilla could fix this problem. And I hope they do.