为提升您的使用体验,本站正在维护,部分功能暂时无法使用。如果本站文章无法解决您的问题,您想要向社区提问的话,请到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 提问,我们的支持社区将会很快回复您的疑问。

搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

Why does sessionrestore not keep my pinned tabs between sessions?

  • 7 个回答
  • 6 人有此问题
  • 4 次查看
  • 最后回复者为 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?

所有回复 (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.

more options

You're welcome