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?
All Replies (4)
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.
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:
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.