We are legally obliged in a few months to obtain consent from users to allow us to store any cookies on the users PC.My query is, what would be the most effective way of storing this consent to ensure that users don't get repeat requests to give consent in the future, obviously for authenticated users I can store this against their profile.  But what about for non-authenticated users.My initial thought, ironically, was to store given consent in a cookie..?
Where to store users consent (EU cookie law)
legal;asp.net;eu cookie law
You could do it by IP, however I think your cookie solution to the cookie-consent is in concurrence. :)But seriously though, a consent cookie seems like the best solution. Give a little popup-window, and if they click 'Consent', then store the cookie. Check for that upon visiting any page.