From the “hills I’m willing to die on” department: Cookies are 100% evil, they should never have been added to the web platform, and the world would be a better place if the HTTP auth mechanism had been continuously extended and improved instead
7
15
2
86
How would one implement state management for unauthenticated sessions, such as shopping carts? Sessions as url parameters didn't work well.
1
1
Replying to @tdierks @elharo
Give each shopping cart its own URL

May 9, 2020 · 1:38 PM UTC

1
2
Replying to @stilkov @elharo
That was done a lot in the early days, it's a disaster from a usability standpoint. Go back and lose your cart, you can end up with two carts in two windows, accidentally close the window and it's gone, share a link and someone else gets your cart, etc.
1
1