Поиск в Поддержке

Избегайте мошенников, выдающих себя за службу поддержки. Мы никогда не попросим вас позвонить, отправить текстовое сообщение или поделиться личной информацией. Сообщайте о подозрительной активности, используя функцию «Пожаловаться».

Learn More

Session transfer

  • 2 ответа
  • 1 имеет эту проблему
  • 171 просмотр
  • Последний ответ от 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.