MozillaZine

How to Set Default Cookie = Allow for Session in Firefox 70?

User Help for Mozilla Firefox
KentonS
 
Posts: 64
Joined: December 19th, 2008, 8:15 am

Post Posted December 12th, 2019, 9:35 am

I can't help but think that this question has already been asked, but I couldn't find it.

In Page Info | Permissions | Set Cookies, one of the options is Use Default. One of the other listed options that becomes available to select once Use Default is deselected is Allow for Session. I would like to set Allow for Session as the default. Can I do that? If so, how?

Thanks!
Kenton

dickvl

User avatar
 
Posts: 53088
Joined: July 18th, 2005, 3:25 am

Post Posted December 12th, 2019, 12:49 pm

Maybe modify this pref on the about:config page ?
network.cookie.lifetimePolicy = 2

https://dxr.mozilla.org/mozilla-release ... cy.js#1467
https://support.mozilla.org/en-US/kb/ab ... or-firefox

KentonS
 
Posts: 64
Joined: December 19th, 2008, 8:15 am

Post Posted December 12th, 2019, 2:16 pm

dickvl wrote:Maybe modify this pref on the about:config page ?
network.cookie.lifetimePolicy = 2
Thanks! That appears to have worked.

Isn't that something that could once be changed in Firefox via Options | Privacy & Security? Or am I thinking of Seamonkey, which is/was built on top of Firefox and which I used for years.

dickvl

User avatar
 
Posts: 53088
Joined: July 18th, 2005, 3:25 am

Post Posted December 12th, 2019, 3:30 pm

There used to be a "Keep until" choice with options like:
Keep until: they expire
Keep until: I close Firefox
The latter makes cookies session cookies.

In current Firefox releases this probably corresponds with "Delete cookies and site data when Firefox is closed" with a broader coverage.
This choice honors cookie allow exceptions in contrary to using "Clear history when Firefox closes" that clears all selected data.

Clearing Site Preferences removes exceptions and clearing cookies removes all the cookies.

Return to Firefox Support


Who is online

Users browsing this forum: Bing [Bot] and 6 guests