> isn’t it fair to place the blame on GDPR?
I could be wrong but IIRC cookie banners predate gdpr.
I could be wrong but IIRC cookie banners predate gdpr.
It did not specify cookies, and did not actually specify any technical means. The ePrivacy Directive requires that companies get consent from users before storing information or gaining access to information stored on end user devices. This includes every kind of cookie you can think of, including LocalStorage. There is an exception for cookies necessary for the service requested, which typically includes things like auth cookies or shopping cart cookies, so long as that data is not used for anything else.