News for hackers. Stuff that matters.
Re:Ask HN: What is the least obnoxious way to ask for cookie... by RobertRoberts on Friday September 29, 2023 @09:50AM (#37704224)
How would you save the "reject all" selection without using a cookie for that user's session?
Re:Ask HN: What is the least obnoxious way to ask for cookie... by starbugs on Friday September 29, 2023 @09:51AM (#37704239)
The cookie for saving the preference is technically required. Hence, it doesn't need consent.
Re:Ask HN: What is the least obnoxious way to ask for cookie... by Houssameddine on Friday September 29, 2023 @10:03AM (#37704416)
I think you don't need a cookie for that. You can use localStorage which is local to the user's device.
Re:Ask HN: What is the least obnoxious way to ask for cookie... by starbugs on Friday September 29, 2023 @10:16AM (#37704613)
It doesn't matter what method you use. Saving the information on the user's device and making them potentially identifiable is what counts.
Re:Ask HN: What is the least obnoxious way to ask for cookie... by markus92 on Saturday September 30, 2023 @06:39AM (#37714192)
It's not PII so you can just use a cookie.