News for hackers. Stuff that matters.
Re:Two years in, GDPR defined by mixed signals, unbalanced e... by ratww on Friday May 29, 2020 @01:31PM (#23352904)
> How else can you even store a consent for cookies/localStorage?

You said "the cookie thing just means that if I want to use these websites, I have to enable cookies so that I can dismiss the cookie dialog".

But if cookies are disabled, then there's no point in asking for consent. There should be no cookie banner in this case.

Re:Two years in, GDPR defined by mixed signals, unbalanced e... by microcolonel on Friday May 29, 2020 @01:34PM (#23352950)
> But if cookies are disabled, then there's no point in asking for consent.

But the only way to determine if cookies are actually disabled in the browser is to attempt to store cookies, which is the thing you're asking consent for.

Re:Two years in, GDPR defined by mixed signals, unbalanced e... by TheCoelacanth on Friday May 29, 2020 @02:05PM (#23353411)
A cookie storing simply whether the person has accepted, declined or not yet responded to your consent dialog does not require consent.
Re:Two years in, GDPR defined by mixed signals, unbalanced e... by ratww on Friday May 29, 2020 @01:37PM (#23352985)
Not really, there's also navigator.cookiesEnabled now.

And even if there wasn't, attempting to store a cookie with a dummy value just to check if cookies are enabled does not break the GDPR for three reasons: first, if it's a dummy value it's not really personally identifiable information. Second, it's a functional cookie required for the site to work. And third, the site can just delete it afterwards the checking. No consent required in this case.