Replies: 1 comment 1 reply
-
|
I honestly don't think we ever wrote anything for this, so there's nothing idomatic that I've seen. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment

Uh oh!
There was an error while loading. Please reload this page.
-
So I have enabled the cookie consent banner in my asp.net core project:
Then I have a partial view:
The
cookieStringhas a value of.AspNet.Consent=yes(with other things appended). So when a user clicks on theAcceptbutton a cookie with this value will be set.Now my question is, how would I create a
Rejectbutton - I would like to identify that a user was prompted and he explicitly rejected the prompt. I'm looking for an "idiomatic" way to do this, I can think of several solutions that feel like hacks. Any suggestions.Beta Was this translation helpful? Give feedback.
All reactions