본 사이트는 여러분의 사용자 경험을 개선하기 위해 유지 보수를 진행하는 동안 기능이 제한됩니다. 도움말로 문제가 해결되지 않고 질문을 하고 싶다면 Twitter의 @FirefoxSupport 및 Reddit의 /r/firefox 채널을 활용하세요.

Mozilla 도움말 검색

고객 지원 사기를 피하세요. 저희는 여러분께 절대로 전화를 걸거나 문자를 보내거나 개인 정보를 공유하도록 요청하지 않습니다. "악용 사례 신고"옵션을 사용하여 의심스러운 활동을 신고해 주세요.

자세히 살펴보기

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

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?

모든 댓글 (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.