This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn't solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter and/r/firefox on Reddit.

Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

Natao arisiva ity resaka mitohy ity. Mametraha fanontaniana azafady raha mila fanampiana.

Why does sessionrestore not keep my pinned tabs between sessions?

  • 7 valiny
  • 6 manana an'ity olana ity
  • 4 views
  • Valiny farany nomen'i cor-el

more options

Since the last couple of version updates my pinned tabs have been erratic. Sometimes they load on startup and sometimes I only get my homepage. This occurs whether I do a full close and shutdown or a hibernate/wake. anyone have any ideas?

Since the last couple of version updates my pinned tabs have been erratic. Sometimes they load on startup and sometimes I only get my homepage. This occurs whether I do a full close and shutdown or a hibernate/wake. anyone have any ideas?

All Replies (7)

more options

Do you close Firefox yourself or let you Windows close Firefox when you shutdown Windows?

A shutdown would require to close Firefox. A hibernate could possibly be done with keeping Firefox running and in that case you should still have all open tabs if you wake up Windows.

Are you using "Clear history when Firefox closes" to clear any personal data?

more options

I always close all open programs before shutting down my laptop and usually also on hibernate.

I lose the pinned tabs after closing FF for either type of shutdown, but not if I hibernate with it open.

On closing clear history clears only the cache, no other history or cookies.

more options

Does Firefox create a new sessionstore.js file?

Note that clearing the cache can take a lot more extra time, so make sure to give Firefox enough time to close completely before you shutdown the computer. You can check in the Windows Task Manager how long it takes for the Firefox process to disappear.

more options

I have a system widget on my desktop that allows me to see when the cpu gets done working after closing FF and when the memory drops off before I shut things down for the day.

I've never checked for a sessionstore.js file. I'll do that next time. Will that be in appdata with my profile, or under mozilla in program files?
more options

It will be in the Firefox profile folder.

You can use this button to go to the current Firefox profile folder:


The sessionstore.js file in the profile folder is used to store session data, but is only present when Firefox is closed.

You can 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 the sessionstore written during runtime)
recovery.bak (previous version of the sessionstore 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/

more options

Thanks for the ghacks link (I wandered off on some Microsoft Win 10 shenanigans) and the sessionstore file info. Armed with this I will monitor my browser behavior more closely to see why it is doing what it does with my tabs.

Thanks for all the help.