3 ms·
How, exactly, is a developer supposed to change state in a stateless protocol to denote that you've dismissed the cookie dialog if the user has disabled the fea
by shadowgovt 6y ago
How, exactly, is a developer supposed to change state in a stateless protocol to denote that you've dismissed the cookie dialog if the user has disabled the feature that allows the developer to add state to the stateless protocol?
- ratww 6y agoI believe his point is that if the user disabled cookies, there's no point in showing the banner. If you don't show the banner you can't track the user, of course. It's not hard. It's just a matter of checking for navigator.cookieEnabled.
- morelisp 6y agocookieEnabled is not reliable for handling third-party cookies, unless you also load a third-party frame running JS. (And even then it doesn't work like you'd want in many browsers.)
- ratww 6y agoSorry if I missed something, but AFAIK grandparent wasn't talking about third party cookies, only about having cookies disabled and being unable to store the consent flag, so I don't see how this applies to this specific discussion.
- shadowgovt 6y agoIt does. Most people concerned about the GDPR are concerned about third-party cookie tracking. It also highlights how, in general, this is a hard problem. Compliance with this law without creating a dead-static page has subtle complications.
- Fargren 6y agoThe law does not forbid you from storing any cookie, even if the user declined. The user can decline cookies that are not needed to provide what the user asked for. Even after the user declines, you are allowed to use cookies to keep track of what's in the user cart, whether the user has logged in or whether the user rejected cookies.
- CuriousSkeptic 6y agoI never dismiss those dialogs anyway. Just make sure your site works with the browsers reader mode and I’m fine. But on the top of my head only display the dialog if the browser cache is cold. Could embed a timestamp in some cachable resource. (Edit: Perhaps this counts as a “cookie“ in the legal sense)