this post was submitted on 07 Sep 2023
1100 points (91.2% liked)

Programmer Humor

19488 readers
601 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 1 year ago
MODERATORS
1100
They tried (programming.dev)
submitted 1 year ago* (last edited 1 year ago) by [email protected] to c/[email protected]
 

EDIT: I didn't realize the anger this would bring out of people. It was supposed to be a funny meme based on recent real-life situations I've encountered, not an attack on the EU.

I appreciate the effort of the EU cookie laws. The practice of them just doesn't live up to the theory of the law. Shady companies are always going to find a way to be shady.

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 24 points 1 year ago (6 children)

Serious question: I know that there are tracking cookies and the user should be able to decline those,but most sites have an auth cookie that stores you're credentials. The devs can store it in a different place like local storage but thats really unsecured.what can the devs do in this situation when the user decline all cookies?

[–] [email protected] 44 points 1 year ago

The EU is not stupid. They categorized cookies into the necessary ones for site-usage and those that aren't. So developers just categorize their session cookie (rightfully) as necessary and that's it.

[–] [email protected] 39 points 1 year ago (1 children)

Cookies that are crucial for the functioning of the website cannot be disabled by the user.

[–] [email protected] 10 points 1 year ago* (last edited 1 year ago) (1 children)

well, they can be disabled by the user and the site simply won't work.

[–] [email protected] 10 points 1 year ago

He means they are exempt from the EU law that says the use must be presented with the option to disable it

[–] [email protected] 34 points 1 year ago (1 children)

The eu rules are mostly about unnecessary cookies. Most web devs just copied whatever everyone else was doing and now there's this standard of having to accept cookies but the EU doesn't really enforce it like that

[–] [email protected] 2 points 1 year ago (1 children)

it's not up to the EU to enforce it.

[–] [email protected] 1 points 1 year ago

not sure why you're downvoted. of course member states enforce it.

[–] [email protected] 11 points 1 year ago

Usually the prompts are specifically for tracking cookies, not essential ones for login. Alternatives without cookies:

  • URL sessions
  • Tokens
  • OAuth/OIDC third party
  • Local/Session Storage (ditto - mind the risks)
[–] [email protected] 4 points 1 year ago

The GDPR is not "cookie law", it only prohibits tracking users in a way not essential to the operation of the site using locally stored identifiers (cookies, local storage, indexed DB...)

Storing a cookie to track login sessions, or color scheme preference does not require asking the user or allowing them to decline.

[–] [email protected] 1 points 1 year ago

What the dev can do if user decline processing of personal data is not store such personal data in cookies or anywhere.

Or even better, do not track the user so the consent would only be needed in for example registration form.