Este site está com funcionalidades limitadas enquanto realizamos manutenção para melhorar sua experiência de uso. Se nenhum artigo resolver seu problema e você quiser fazer uma pergunta, nossa comunidade de suporte pode te ajudar em @FirefoxSupport no Twitter e /r/firefox no Reddit.

Pesquisar no site de suporte

Evite golpes de suporte. Nunca pedimos que você ligue ou envie uma mensagem de texto para um número de telefone, ou compartilhe informações pessoais. Denuncie atividades suspeitas usando a opção “Denunciar abuso”.

Saiba mais

Esta discussão foi arquivada. Faça uma nova pergunta se precisa de ajuda.

Setting `delete cookies and site data when firefox is closed`

  • 3 respostas
  • 1 tem este problema
  • 15 visualizações
  • Última resposta de joepheijnen1994

more options

For our website we de use OAuth2 to login. For this to succeed we need to store some data in de localstorage or sessionstorage. But the data in the storage is cleared when we redirect back from our authenticator. This only happens when `delete cookies and site data when firefox is closed` is checked.

We are not closing Firefox, we are only redirecting the between two different domains. Is this intended?

For our website we de use OAuth2 to login. For this to succeed we need to store some data in de localstorage or sessionstorage. But the data in the storage is cleared when we redirect back from our authenticator. This only happens when `delete cookies and site data when firefox is closed` is checked. We are not closing Firefox, we are only redirecting the between two different domains. Is this intended?

Todas as respostas (3)

more options

Try to create an allow exception with the proper protocol (likely https://) for involved domains.

more options

Thanks for the response. What do you mean with 'create an allow exception'? Both domains use https. Can give you an example?

more options

In this link is an code snippet where localstorage is not stored on redirect.

Can you explain why this happens? Google Chrome doesn't have this behaviour when 'Clear cookies and site data when you quit Chrome' is checked.