Re:Handling cookies is a minefield
by xp84 on Thursday November 21, 2024 @03:49PM
(#42208521)
I think if I were implementing a webapp from scratch today I'd use one single Session ID cookie, store sessions in Redis (etc) indefinitely (they really aren't that big), and for things meant to be stored/accessed on the frontend (e.g. "has dismissed some dumb popup") just use local storage. Dealing with anything to do with cookies is indeed incredibly painful.
[ Parent
| on HN ]
There are no comments on this comment yet.