Cookie set as session expire on close is not working properly.
Cookie set as session expire on close is working but if History Restore previous session is clicked the last page which was logged in shown by logging in successfully.
الحل المُختار
Thank You so much
Read this answer in context 👍 0All Replies (3)
When you reopen website automatically on a next start then Firefox will store cookies used in those tabs in the sessionstore.js file as part of saved session data, so you won't get logged off when you close Firefox without first closing those tabs.
- Tools > Options > General > Startup: "When Firefox Starts": "Show my windows and tabs from last time"
You can set the browser.sessionstore.privacy_level pref to 2 (never) or 1 (non-HTTPS) on the about:config page to disable saving cookies via session restore.
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.
الحل المُختار
Thank You so much
You're welcome