736
you are viewing a single comment's thread
view the rest of the comments
[-] Opisek@piefed.blahaj.zone 16 points 5 months ago

Apart from keeping you logged in, like the other commenter mentioned, cookies can for example be used to save the theme you are using (light/dark) or the language you picked. It would be annoying to have to reselect that every time you move to a different subpage.

[-] XLE@piefed.social 4 points 5 months ago

Your browser passes theme and language recommendations to every site you visit. So outside of passwords, there are fewer reasons for cookies than you may presume.

[-] Opisek@piefed.blahaj.zone 3 points 5 months ago

They're only recommendations. You should still respect the user's choice if they choose something else, which is usually done via cookies.

[-] tyler@programming.dev 2 points 5 months ago

Theme can use local storage, instead of cookies.

[-] Opisek@piefed.blahaj.zone 3 points 5 months ago

This breaks once you've got server-sided rendering.

this post was submitted on 06 Apr 2026
736 points (90.4% liked)

Privacy

10812 readers
84 users here now

A community for Lemmy users interested in privacy

Rules:

  1. Be civil
  2. No spam posting
  3. Keep posts on-topic
  4. No trolling

founded 3 years ago
MODERATORS