The required anti-forgery cookie "__RequestVerificationToken" is not present

Hi,

When debug is false in web.config I get this message on my website.

<compilation defaultLanguage="c#" debug="false" batch="true" targetFramework="4.7.2" numRecompilesBeforeAppRestart="50" />

Error: The required anti-forgery cookie “__RequestVerificationToken” is not present.

Any idea, suggestion? I also have a membership login page before my website. It somehow connects, because without the login restriction everything is fine, even with debug=true value.


This is a companion discussion topic for the original entry at https://our.umbraco.com/forum/101053-the-required-anti-forgery-cookie-__requestverificationtoken-is-not-present