2 ms·
Cookies get deleted when you explicitly delete them (most users don't know how to do that), or when you've set them to expire (which can decades into the future
by marginalia_nu 5y ago
Cookies get deleted when you explicitly delete them (most users don't know how to do that), or when you've set them to expire (which can decades into the future), or when you break your own code (which should be never).
- _-david-_ 5y agoCookies should be set to session not a date. Many sites like HN don't do that presumably for convenience. I assume most social media sites set a date though.