Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

modal always reappears on reload #25

Open
JonathanLehner opened this issue Apr 18, 2019 · 2 comments
Open

modal always reappears on reload #25

JonathanLehner opened this issue Apr 18, 2019 · 2 comments

Comments

@JonathanLehner
Copy link

modal always reappears on reload even after accepting by the user

@jollycic
Copy link

jollycic commented Jun 4, 2019

Same problem here, seems like the gdprcookienotice cookie is not being set after the user clicks on the "accept" button.

@jollycic
Copy link

jollycic commented Jun 4, 2019

I figured out that in my case the problem was that I was calling my development website with localhost as hostname. By design most browsers refuse to set cookies if the domain name is first-level (not containing dots). Assigning a fake hostname such as http://my-website.local worked for me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants