Este site irá ter funcionalidade limitada enquanto fazemos manutenção para melhorar a sua experiência. Se um artigo não resolve o seu problema e quiser colocar uma questão, temos a nossa comunidade de apoio à espera de o ajudar em @FirefoxSupport no Twitter, /r/firefox no Reddit.

Pesquisar no apoio

Evite burlas no apoio. Nunca iremos solicitar que telefone ou envie uma mensagem de texto para um número de telefone ou que partilhe informações pessoais. Por favor, reporte atividades suspeitas utilizando a opção "Reportar abuso".

Saber mais

Did the semantics of cookie exceptions change in FF 38?

  • 2 respostas
  • 1 tem este problema
  • 14 visualizações
  • Última resposta por kkm000

more options

I have set my cookie options to always accept first party only, and keep until end of session. Obviously, cookies do evaporate when FF is restarted, and this is what I want. I do want this behavior overridden for some specific sites. For example, I want to keep cookies from sites in the google.com, accounts.google.com in particular. Up until FF 38 (I think -- the behavior broke fairly recently), I had an exception for google.com to Allow cookies (see about:preferences#privacy). The Allow setting implied the cookies were not erased at end of session (there is also Allow for Session exceprtion).

This is not true any more. Even though I added an exception for both google.com and accounts.google.com, and I can indeed confirm that these sites have added non-session cookies after I log on, these cookies disappear when I restart FF.

Has anything changed in the treatment of cookie exceptions? Is this plainly a bug? Known bug? Or, if it is a feature, is there an option to revert to old behavior?

I have set my cookie options to always accept first party only, and keep until end of session. Obviously, cookies do evaporate when FF is restarted, and this is what I want. I do want this behavior overridden for some specific sites. For example, I want to keep cookies from sites in the google.com, accounts.google.com in particular. Up until FF 38 (I think -- the behavior broke fairly recently), I had an exception for google.com to Allow cookies (see about:preferences#privacy). The Allow setting implied the cookies were not erased at end of session (there is also Allow for Session exceprtion). This is not true any more. Even though I added an exception for both google.com and accounts.google.com, and I can indeed confirm that these sites have added non-session cookies after I log on, these cookies disappear when I restart FF. Has anything changed in the treatment of cookie exceptions? Is this plainly a bug? Known bug? Or, if it is a feature, is there an option to revert to old behavior?

Solução escolhida

Are you letting the cookies expire when you close Firefox or are you using "Clear history when Firefox closes" to clear the cookies?

The latter removes all the cookies regardless of an allow exception.


If you use "Clear history when Firefox closes" to clear Cookies then exclude the cookies and instead let the cookies expire when you close Firefox to make them session cookies.

  • Firefox/Tools > Options > Privacy > "Use custom settings for history" > Cookies: Keep until: "I close Firefox"

Create a cookie 'allow' exception for cookies that you would like to keep.

  • Firefox/Tools > Options > Privacy > "Use custom settings for history" > Cookies: Exceptions
  • Clearing "Site Preferences" clears all exceptions for cookies, images, pop-up windows, software installation, passwords, and other website specific data.
  • Clearing cookies will remove all specified (selected) cookies including cookies with an allow exception that you would like to keep.
Ler esta resposta no contexto 👍 0

Todas as respostas (2)

more options

Solução escolhida

Are you letting the cookies expire when you close Firefox or are you using "Clear history when Firefox closes" to clear the cookies?

The latter removes all the cookies regardless of an allow exception.


If you use "Clear history when Firefox closes" to clear Cookies then exclude the cookies and instead let the cookies expire when you close Firefox to make them session cookies.

  • Firefox/Tools > Options > Privacy > "Use custom settings for history" > Cookies: Keep until: "I close Firefox"

Create a cookie 'allow' exception for cookies that you would like to keep.

  • Firefox/Tools > Options > Privacy > "Use custom settings for history" > Cookies: Exceptions
  • Clearing "Site Preferences" clears all exceptions for cookies, images, pop-up windows, software installation, passwords, and other website specific data.
  • Clearing cookies will remove all specified (selected) cookies including cookies with an allow exception that you would like to keep.
more options

cor-el said

Are you letting the cookies expire when you close Firefox or are you using "Clear history when Firefox closes" to clear the cookies?

My bad, thanks. That was it.