Hacker News new | ask | show | jobs
by ge96 1529 days ago
Side question, why does a site need cookies?
2 comments

Example of essential: http only secure cookies to store JWTs.

Non essential: majority of easy to use managed and mostly free analytics software.

The most common example of required cookies is to know which user is logged in.