Hacker News new | ask | show | jobs
by RobertRoberts 997 days ago
How would you save the "reject all" selection without using a cookie for that user's session?
3 comments

The cookie for saving the preference is technically required. Hence, it doesn't need consent.
It's not PII so you can just use a cookie.
I think you don't need a cookie for that. You can use localStorage which is local to the user's device.
It doesn't matter what method you use. Saving the information on the user's device and making them potentially identifiable is what counts.