-
Notifications
You must be signed in to change notification settings - Fork 19
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
CookieConsent cookie expires only after 1 week #299
Comments
Debugging EXT:cookieman/Resources/Public/Js/js.cookie.min.js it sets document.cookie with a string like: But in Chrome dev tools it shows the expire of the cookie only |
And it looks like it depends on this: https://webkit.org/blog/8613/intelligent-tracking-prevention-2-1/ Brave browser, which I'm using, has implemented this. Probably Safari too. I tested it with Edge and Chrome and the cookie expires correctly after 1 year. Maybe a solution could be to set again the cookie in PHP after it has been set in JS? |
Another reference: js-cookie/js-cookie#579 |
Thanks for bringing that up. I am unclear about that. ( As for the reference I don't trust Apple motivation much in regards to data protection. Their take on the Do-Not-Track header shows that they are fabricating reasons to make a non-legally-binding tool irrelevant (this one is more to blame on the legislation than on the companies not implementing it IMHO). ) Going the HttpOnly (PHP) way might be possible but would be an architecture change. Maybe we could improve our "1st party signals" towards browsers by setting We could also go localStorage which does not expire and is strictly 1st party by design... I guess that would be OK even for privacy-oriented browsers? |
Bug Report
Prerequisites
Description
CookieConsent cookie expires only after 1 week instead of the default 365 days.
Steps to Reproduce
The text was updated successfully, but these errors were encountered: