当サイトはユーザー体験を改善するためのメンテナンスを実施中に機能が制限される予定です。記事を読んでもあなたの問題が解決せず質問をしたい場合は、Twitter の @FirefoxSupport、Reddit の /r/firefox で、サポートコミュニティが皆さんを助けようと待機しています。

Mozilla サポートの検索

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.

詳しく学ぶ

このスレッドはアーカイブに保管されました。 必要であれば新たに質問してください。

Restore session saves login token

  • 7 件の返信
  • 2 人がこの問題に困っています
  • 4 回表示
  • 最後の返信者: Belliger

more options

When I close Firefox and open it again I am no longer logged into my Google account as is normal (I ask that my login information not be saved). However if I use the restore previous session option then I am logged back into my Google accounts. Why is the login token not expired on closing, and is still valid after restoring a previous session?

This happens even when disabling all add-ons.

When I close Firefox and open it again I am no longer logged into my Google account as is normal (I ask that my login information not be saved). However if I use the restore previous session option then I am logged back into my Google accounts. Why is the login token not expired on closing, and is still valid after restoring a previous session? This happens even when disabling all add-ons.

選ばれた解決策

Firefox stores cookies used in tabs that are currently open in the sessionstore.js file as part of saved session data, so those cookies will be restored if Firefox is closed without first closing these tabs.

You can set browser.sessionstore.privacy_level to 2 (never) or 1 (non-HTTPS) on the about:config page to disable saving cookies via session restore in the sessionstore.js file. The browser.sessionstore.privacy_level_deferred pref is used when you do not reopen the previous session automatically via "Show my windows and tabs from last time" and uses the same values.

You can open the about:config page via the location/address bar. You can accept the warning and click "I'll be careful" to continue.

この回答をすべて読む 👍 2

すべての返信 (7)

more options

Where you logged in during that previous session?

more options

Yes, when closing each session I am logged into Google. I have my Google settings set to not save login information. And when I launch FF again I am indeed not logged in. However if I restore my previous session it restores my login.

more options

Belliger said

if I restore my previous session it restores my login.

That's because you were logged in.

more options

So you don't think this is a security issue?

Because this is something new. I have always used the restore previous session feature, and until recently I have needed to log back into any account I did not have set to save my login information.

more options

There is no real security issue. Only your computer has the session restore, and to use your computer account, one needs the password.

more options

選ばれた解決策

Firefox stores cookies used in tabs that are currently open in the sessionstore.js file as part of saved session data, so those cookies will be restored if Firefox is closed without first closing these tabs.

You can set browser.sessionstore.privacy_level to 2 (never) or 1 (non-HTTPS) on the about:config page to disable saving cookies via session restore in the sessionstore.js file. The browser.sessionstore.privacy_level_deferred pref is used when you do not reopen the previous session automatically via "Show my windows and tabs from last time" and uses the same values.

You can open the about:config page via the location/address bar. You can accept the warning and click "I'll be careful" to continue.

more options

Thank you cor-el! Both for explaining why Firefox was acting the way it was and for the solution. This perfectly solved my issue.