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

Cookie Dialog Shows Up Again On Different Pages #16

Open
glennraya opened this issue Oct 11, 2023 · 7 comments
Open

Cookie Dialog Shows Up Again On Different Pages #16

glennraya opened this issue Oct 11, 2023 · 7 comments

Comments

@glennraya
Copy link

Hi, I'm using Laravel 10+ and Inertia (React) SSR. The cookie consent dialog always shows up again on different pages other than the index route. After I navigate to the home page, that's when the dialog never shows up again on different pages on the site. Am I missing some configs? Thanks

@toonvandenbos
Copy link
Member

Hi @glennraya,

After consent has been defined, can you see the cookie being set? If so, could you check if cookies are sent in the following requests headers? Thanks!

@gaud2029
Copy link

gaud2029 commented Nov 8, 2023 via email

@uvali
Copy link

uvali commented Nov 29, 2023

Hi,
I have the same issue as @glennraya .
I verify and the cookie is set on the response but is not sent in the following request.
I set in cookieconsent.php my domain but no results. The cookie still not sent on the following request.

@Eyonic
Copy link

Eyonic commented Mar 26, 2024

In my case the cookie acceptance submission was blocked because it attempted to load over HTTP instead of HTTPS.

Adding a meta worked for me: meta http-equiv="Content-Security-Policy" content="upgrade-insecure-requests"

@szotyi41
Copy link

szotyi41 commented Sep 9, 2024

Same issue for me. It is https, I already set dotenv the domain is https and added

@KostantinoAbate
Copy link

KostantinoAbate commented Dec 10, 2024

I have the same issue. Last time it happened to me was when I tried to delete all cookies client-side by google chrome relative button. Once I deleted I got the same problem, each time I refresh the page or if I go on any page with the consent block on it I always get the banner showing up.

@KostantinoAbate
Copy link

I have the same issue. Last time it happened to me was when I tried to delete all cookies client-side by google chrome relative button. Once I deleted I got the same problem, each time I refresh the page or if I go on any page with the consent block on it I always get the banner showing up.

Apparently if you run composer dump-autoload the problem disappear. Dunno why but this is.

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

7 participants