this post was submitted on 01 Mar 2026
28 points (93.8% liked)

Ask Lemmy

38264 readers
1558 users here now

A Fediverse community for open-ended, thought provoking questions


Rules: (interactive)


1) Be nice and; have funDoxxing, trolling, sealioning, racism, and toxicity are not welcomed in AskLemmy. Remember what your mother said: if you can't say something nice, don't say anything at all. In addition, the site-wide Lemmy.world terms of service also apply here. Please familiarize yourself with them


2) All posts must end with a '?'This is sort of like Jeopardy. Please phrase all post titles in the form of a proper question ending with ?


3) No spamPlease do not flood the community with nonsense. Actual suspected spammers will be banned on site. No astroturfing.


4) NSFW is okay, within reasonJust remember to tag posts with either a content warning or a [NSFW] tag. Overtly sexual posts are not allowed, please direct them to either !asklemmyafterdark@lemmy.world or !asklemmynsfw@lemmynsfw.com. NSFW comments should be restricted to posts tagged [NSFW].


5) This is not a support community.
It is not a place for 'how do I?', type questions. If you have any questions regarding the site itself or would like to report a community, please direct them to Lemmy.world Support or email info@lemmy.world. For other questions check our partnered communities list, or use the search function.


6) No US Politics.
Please don't post about current US Politics. If you need to do this, try !politicaldiscussion@lemmy.world or !askusa@discuss.online


Reminder: The terms of service apply here too.

Partnered Communities:

Tech Support

No Stupid Questions

You Should Know

Reddit

Jokes

Ask Ouija


Logo design credit goes to: tubbadu


founded 2 years ago
MODERATORS
 

I always reject them, but mostly because I never really understood what their purpose was.

Is it to track my info and send me a bunch of emails I don't want? Do websites even need cookies? Why do they use them?

you are viewing a single comment's thread
view the rest of the comments
[–] Hossenfeffer@feddit.uk 94 points 1 day ago* (last edited 1 day ago) (3 children)

HTTP is a stateless medium.

Which means a website doesn’t (can’t) remember what you did before on it. Each time you click a link it’s like the first time the website has ever seen you.

This makes it impossible to ‘sign in’ to a website.

The way they get around this is by dumping a small piece of code on your computer that says ‘hi website, it’s me and I have a proper account and am logged in’. That’s a cookie. And yes, websites need them to operate any kind of user experience.

So instead of a page that says ‘who the fuck are you?’ It can now retrieve the info from the cookie and show you the page that says ‘hi, KuromiGirl04, what’s happening? You’re all logged in and can access your account details or carry on from where you were before’.

Originally cookies could only be created, and then read back, by one website. So, eg, if you logged into your account on foobar.com, only foobar.com could read that cookie back.

But someone came up with the brilliant idea of third party cookies. So now, if you visit foobar.com you also (if you agree to it) get cookies created by facebork, grabble, aggressive-advertiser, the nra, the nsa, the kkk, and whoever else has convinced foobar.com that they get some value out of the deal.

That’s where the hundreds of cookies you need to scroll down and deny come from. Mostly advertisers or analytics, or advertisers, web optimisers, or advertisers…. And these third party cookies can be read anywhere by the company that sets them.

That way, when you visit shoefuckeringfreak.com facebork knows you’ve visited it and suddenly starts showing you sexy, sexy shoes on your facebork feed. And so forth.

[–] KuromiGirl04@lemmy.world 35 points 1 day ago

Oh my stars, this has got to be, single handedly, the absolute best answer I've ever received on any post!

Oh my goodness this had me laughing out loud for a good 5 minutes and I'm still laughing.

Thank you for the good chuckle, I love to laugh. I hope you have a wonderful rest of your day and week

[–] JetpackJackson@feddit.org 12 points 1 day ago

Thank you for the perfect explanation, stranger

Lad, I think you've connected to the internet from a different timeline. We call it shitbook over here.