Ce site disposera de fonctionnalités limitées pendant que nous effectuons des opérations de maintenance en vue de vous proposer un meilleur service. Si un article ne règle pas votre problème et que vous souhaitez poser une question, notre communauté d’assistance est prête à vous répondre via @FirefoxSupport sur Twitter, et /r/firefox sur Reddit.

Rechercher dans l’assistance

Évitez les escroqueries à l’assistance. Nous ne vous demanderons jamais d’appeler ou d’envoyer un SMS à un numéro de téléphone ou de partager des informations personnelles. Veuillez signaler toute activité suspecte en utilisant l’option « Signaler un abus ».

En savoir plus

Session transfer

  • 2 réponses
  • 1 a ce problème
  • 2 vues
  • Dernière réponse par 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.
Captures d’écran jointes

Solution choisie

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?

Lire cette réponse dans son contexte 👍 1

Toutes les réponses (2)

more options

Solution choisie

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.