X
Tap here to go to the mobile version of the site.

Support Forum

How do I restore Windows and tabs after computer restart.

Posted

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?
Quote

Additional System Details

Installed Plug-ins

  • Shockwave Flash 26.0 r0

Application

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

More Information

the-edmeister
  • Top 25 Contributor
  • Moderator
5092 solutions 37556 answers

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.
Was this helpful to you? 2
Quote

Question owner

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.
Was this helpful to you?
Quote
cor-el
  • Top 10 Contributor
  • Moderator
15572 solutions 141001 answers

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/
Was this helpful to you? 0
Quote

Question owner

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.
Was this helpful to you? 1
Quote
Ask a question

You must log in to your account to reply to posts. Please start a new question, if you do not have an account yet.