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

搜索 | 用户支持

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

详细了解

Session transfer

  • 2 个回答
  • 1 人有此问题
  • 2 次查看
  • 最后回复者为 noel_envode

more options

I've managed multiple profiles, and used the profile manager for years.

Usually, when I want to update/replace a session from one profile to another, these are the files I transfer.

When I launch the profile, it should open to the same tab as in the previous profile, and the tab count should be the same. That is, until today.

No matter what I try with the new profile, the same old session keeps coming up.

I've managed multiple profiles, and used the profile manager for years. Usually, when I want to update/replace a session from one profile to another, these are the files I transfer. When I launch the profile, it should open to the same tab as in the previous profile, and the tab count should be the same. That is, until today. No matter what I try with the new profile, the same old session keeps coming up.
已附加屏幕截图

被采纳的解决方案

I can't tell whether this is the issue, but Firefox appears to look for a flag in the sessionCheckpoints.json file indicating a successful shutdown:

https://searchfox.org/mozilla-release/source/browser/components/sessionstore/SessionStartup.jsm#223

If you check your file, do you see something like this:

{"profile-after-change":true,"final-ui-startup":true,"sessionstore-windows-restored":true,"quit-application-granted":true,"quit-application":true,"sessionstore-final-state-write-complete":true,"profile-change-net-teardown":true,"profile-change-teardown":true,"profile-before-change":true}

If not perhaps Firefox will skip sessionstore.jsonlz4 and use a file from the sessionstore-backups folder. Does it seem that something from there probably is getting restored?

定位到答案原位置 👍 1

所有回复 (2)

more options

选择的解决方案

I can't tell whether this is the issue, but Firefox appears to look for a flag in the sessionCheckpoints.json file indicating a successful shutdown:

https://searchfox.org/mozilla-release/source/browser/components/sessionstore/SessionStartup.jsm#223

If you check your file, do you see something like this:

{"profile-after-change":true,"final-ui-startup":true,"sessionstore-windows-restored":true,"quit-application-granted":true,"quit-application":true,"sessionstore-final-state-write-complete":true,"profile-change-net-teardown":true,"profile-change-teardown":true,"profile-before-change":true}

If not perhaps Firefox will skip sessionstore.jsonlz4 and use a file from the sessionstore-backups folder. Does it seem that something from there probably is getting restored?

more options

Hi jscher2000,

That makes sense. It's not uncommon for me to back up a source profile, that's currently in use, with backup software.

What I don't understand is why It never happened before.

I solved the problem by deleting those aforementioned files in the target folder, then launched that profile, in a blank session, exited Firefox, and then replaced the newly created files with the ones from the source profile.

I suppose the same results could have also been accomplished by launching that backup profile and closing it before selecting those files for transfer, which just occurred to me, of course, after your advice.

Thank for the valuable lesson, especially so considering how I go about the business of profile building.