title: The required anti-forgery cookie "__RequestVerificationToken" is not present. MVC 5
body: <p>"The required anti-forgery cookie "__RequestVerificationToken" is not present."</p>
  
  <p>When a user attempts to register, it rarely appears.</p>
  
  <p>I am using Elmah tracker. The data from the client has form field "__RequestVerificationToken".</p>
  
  <p>I can't find out the reason. Please review the below data.</p>
  
  <p>Thanks in advance.</p>
  
  <pre><code>&lt;error application="/LM/W3SVC/3/ROOT" host="N816A" type="System.Web.Mvc.HttpAntiForgeryException" message="The required anti-forgery cookie "__RequestVerificationToken" is not present." source="System.Web.WebPages" detail="System.Web.Mvc.HttpAntiForgeryException (0x80004005): The required anti-forgery cookie "__RequestVerificationToken" is not present.
   at System.Web.Helpers.AntiXsrf.TokenValidator.ValidateTokens(HttpContextBase httpContext, IIdentity identity, AntiForgeryToken sessionToken, AntiForgeryToken fieldToken)
   at System.Web.Helpers.AntiXsrf.AntiForgeryWorker.Validate(HttpContextBase httpContext)
   at System.Web.Mvc.ControllerActionInvoker.InvokeAuthorizationFilters(ControllerContext controllerContext, IList`1 filters, ActionDescriptor actionDescriptor)
   at System.Web.Mvc.Async.AsyncControllerActionInvoker.&lt;&gt;c__DisplayClass21.&lt;BeginInvokeAction&gt;b__19(AsyncCallback asyncCallback, Object asyncState)" time="2015-06-20T10:35:41.3420000Z" statusCode="500"&gt;
  &lt;serverVariables&gt;
  &lt;item name="ALL_HTTP"&gt;
  &lt;value string="HTTP_CONNECTION:keep-alive
   HTTP_CONTENT_LENGTH:328
   HTTP_CONTENT_TYPE:application/x-www-form-urlencoded
   HTTP_ACCEPT:text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
   HTTP_ACCEPT_ENCODING:gzip, deflate
   HTTP_ACCEPT_LANGUAGE:en-us
   HTTP_HOST:www.----.com
   HTTP_REFERER:https://www.----.com/Account/Login
   HTTP_USER_AGENT:Mozilla/5.0 (iPad; CPU OS 8_3 like Mac OS X) AppleWebKit/600.1.4 (KHTML, like Gecko) Version/8.0 Mobile/12F69 Safari/600.1.4
   HTTP_ORIGIN:https://www.----.com
   "/&gt;
  &lt;/item&gt;
  &lt;item name="ALL_RAW"&gt;
  &lt;value string="Connection: keep-alive
   Content-Length: 328
   Content-Type: application/x-www-form-urlencoded
   Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
   Accept-Encoding: gzip, deflate
   Accept-Language: en-us
   Host: www.----.com
   Referer: https://www.----.com/Account/Login
   User-Agent: Mozilla/5.0 (iPad; CPU OS 8_3 like Mac OS X) AppleWebKit/600.1.4 (KHTML, like Gecko) Version/8.0 Mobile/12F69 Safari/600.1.4
   Origin: https://www.----.com
   "/&gt;
  &lt;/item&gt;
  &lt;item name="APPL_MD_PATH"&gt;
  &lt;value string="/LM/W3SVC/3/ROOT"/&gt;
  &lt;/item&gt;
  &lt;item name="APPL_PHYSICAL_PATH"&gt;
  &lt;value string="D:\WebSite\----\"/&gt;
  &lt;/item&gt;
  &lt;item name="AUTH_TYPE"&gt;
  &lt;value string=""/&gt;
  &lt;/item&gt;
  &lt;item name="AUTH_USER"&gt;
  &lt;value string=""/&gt;
  &lt;/item&gt;
  &lt;item name="AUTH_PASSWORD"&gt;
  &lt;value string="*****"/&gt;
  &lt;/item&gt;
  &lt;item name="LOGON_USER"&gt;
  &lt;value string=""/&gt;
  &lt;/item&gt;
  &lt;item name="REMOTE_USER"&gt;
  &lt;value string=""/&gt;
  &lt;/item&gt;
  &lt;item name="CERT_COOKIE"&gt;
  &lt;value string=""/&gt;
  &lt;/item&gt;
  &lt;item name="CERT_FLAGS"&gt;
  &lt;value string=""/&gt;
  &lt;/item&gt;
  &lt;item name="CERT_ISSUER"&gt;
  &lt;value string=""/&gt;
  &lt;/item&gt;
  &lt;item name="CERT_KEYSIZE"&gt;
  &lt;value string="128"/&gt;
  &lt;/item&gt;
  &lt;item name="CERT_SECRETKEYSIZE"&gt;
  &lt;value string="2048"/&gt;
  &lt;/item&gt;
  &lt;item name="CERT_SERIALNUMBER"&gt;
  &lt;value string=""/&gt;
  &lt;/item&gt;
  &lt;item name="CERT_SERVER_ISSUER"&gt;
  &lt;value string="C=GB, S=Greater Manchester, L=Salford, O=COMODO CA Limited, CN=COMODO SSL CA"/&gt;
  &lt;/item&gt;
  &lt;item name="CERT_SERVER_SUBJECT"&gt;
  &lt;value string="OU=Domain Control Validated, OU="Hosted by Korea Information Certificate Authority, Inc.", OU=COMODO SSL, CN=www.----.com"/&gt;
  &lt;/item&gt;
  &lt;item name="CERT_SUBJECT"&gt;
  &lt;value string=""/&gt;
  &lt;/item&gt;
  &lt;item name="CONTENT_LENGTH"&gt;
  &lt;value string="328"/&gt;
  &lt;/item&gt;
  &lt;item name="CONTENT_TYPE"&gt;
  &lt;value string="application/x-www-form-urlencoded"/&gt;
  &lt;/item&gt;
  &lt;item name="GATEWAY_INTERFACE"&gt;
  &lt;value string="CGI/1.1"/&gt;
  &lt;/item&gt;
  &lt;item name="HTTPS"&gt;
  &lt;value string="on"/&gt;
  &lt;/item&gt;
  &lt;item name="HTTPS_KEYSIZE"&gt;
  &lt;value string="128"/&gt;
  &lt;/item&gt;
  &lt;item name="HTTPS_SECRETKEYSIZE"&gt;
  &lt;value string="2048"/&gt;
  &lt;/item&gt;
  &lt;item name="HTTPS_SERVER_ISSUER"&gt;
  &lt;value string="C=GB, S=Greater Manchester, L=Salford, O=COMODO CA Limited, CN=COMODO SSL CA"/&gt;
  &lt;/item&gt;
  &lt;item name="HTTPS_SERVER_SUBJECT"&gt;
  &lt;value string="OU=Domain Control Validated, OU="Hosted by Korea Information Certificate Authority, Inc.", OU=COMODO SSL, CN=www.----.com"/&gt;
  &lt;/item&gt;
  &lt;item name="INSTANCE_ID"&gt;
  &lt;value string="3"/&gt;
  &lt;/item&gt;
  &lt;item name="INSTANCE_META_PATH"&gt;
  &lt;value string="/LM/W3SVC/3"/&gt;
  &lt;/item&gt;
  &lt;item name="LOCAL_ADDR"&gt;
  &lt;value string="10.57.14.250"/&gt;
  &lt;/item&gt;
  &lt;item name="PATH_INFO"&gt;
  &lt;value string="/Account/Register"/&gt;
  &lt;/item&gt;
  &lt;item name="PATH_TRANSLATED"&gt;
  &lt;value string="D:\WebSite\----\Account\Register"/&gt;
  &lt;/item&gt;
  &lt;item name="QUERY_STRING"&gt;
  &lt;value string=""/&gt;
  &lt;/item&gt;
  &lt;item name="REMOTE_ADDR"&gt;
  &lt;value string="222.152.222.107"/&gt;
  &lt;/item&gt;
  &lt;item name="REMOTE_HOST"&gt;
  &lt;value string="222.152.222.107"/&gt;
  &lt;/item&gt;
  &lt;item name="REMOTE_PORT"&gt;
  &lt;value string="57745"/&gt;
  &lt;/item&gt;
  &lt;item name="REQUEST_METHOD"&gt;
  &lt;value string="POST"/&gt;
  &lt;/item&gt;
  &lt;item name="SCRIPT_NAME"&gt;
  &lt;value string="/Account/Register"/&gt;
  &lt;/item&gt;
  &lt;item name="SERVER_NAME"&gt;
  &lt;value string="www.----.com"/&gt;
  &lt;/item&gt;
  &lt;item name="SERVER_PORT"&gt;
  &lt;value string="443"/&gt;
  &lt;/item&gt;
  &lt;item name="SERVER_PORT_SECURE"&gt;
  &lt;value string="1"/&gt;
  &lt;/item&gt;
  &lt;item name="SERVER_PROTOCOL"&gt;
  &lt;value string="HTTP/1.1"/&gt;
  &lt;/item&gt;
  &lt;item name="SERVER_SOFTWARE"&gt;
  &lt;value string="Microsoft-IIS/7.5"/&gt;
  &lt;/item&gt;
  &lt;item name="URL"&gt;
  &lt;value string="/Account/Register"/&gt;
  &lt;/item&gt;
  &lt;item name="HTTP_CONNECTION"&gt;
  &lt;value string="keep-alive"/&gt;
  &lt;/item&gt;
  &lt;item name="HTTP_CONTENT_LENGTH"&gt;
  &lt;value string="328"/&gt;
  &lt;/item&gt;
  &lt;item name="HTTP_CONTENT_TYPE"&gt;
  &lt;value string="application/x-www-form-urlencoded"/&gt;
  &lt;/item&gt;
  &lt;item name="HTTP_ACCEPT"&gt;
  &lt;value string="text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8"/&gt;
  &lt;/item&gt;
  &lt;item name="HTTP_ACCEPT_ENCODING"&gt;
  &lt;value string="gzip, deflate"/&gt;
  &lt;/item&gt;
  &lt;item name="HTTP_ACCEPT_LANGUAGE"&gt;
  &lt;value string="en-us"/&gt;
  &lt;/item&gt;
  &lt;item name="HTTP_HOST"&gt;
  &lt;value string="www.----.com"/&gt;
  &lt;/item&gt;
  &lt;item name="HTTP_REFERER"&gt;
  &lt;value string="https://www.----.com/Account/Login"/&gt;
  &lt;/item&gt;
  &lt;item name="HTTP_USER_AGENT"&gt;
  &lt;value string="Mozilla/5.0 (iPad; CPU OS 8_3 like Mac OS X) AppleWebKit/600.1.4 (KHTML, like Gecko) Version/8.0 Mobile/12F69 Safari/600.1.4"/&gt;
  &lt;/item&gt;
  &lt;item name="HTTP_ORIGIN"&gt;
  &lt;value string="https://www.----.com"/&gt;
  &lt;/item&gt;
  &lt;/serverVariables&gt;
  &lt;form&gt;
  &lt;item name="__RequestVerificationToken"&gt;
  &lt;value string="NfS-jtWU5SbI8M605BxJI9soh5wRn0BSrDoxLUFbwH_rQfwWZ3R60I1h2uPosZOMnhYpcjgh5Mg5tjDDziNKGZBFTVw1"/&gt;
  &lt;/item&gt;
  &lt;item name="UserName"&gt;
  &lt;value string="----"/&gt;
  &lt;/item&gt;
  &lt;item name="Password"&gt;
  &lt;value string="----"/&gt;
  &lt;/item&gt;
  &lt;item name="ConfirmPassword"&gt;
  &lt;value string="----"/&gt;
  &lt;/item&gt;
  &lt;item name="RealName"&gt;
  &lt;value string="Earl ----"/&gt;
  &lt;/item&gt;
  &lt;item name="Email"&gt;
  &lt;value string="----@gmail.com"/&gt;
  &lt;/item&gt;
  &lt;item name="Birth"&gt;
  &lt;value string="1984-05-08"/&gt;
  &lt;/item&gt;
  &lt;item name="PhoneNumber"&gt;
  &lt;value string="083566----"/&gt;
  &lt;/item&gt;
  &lt;item name="AcceptPolicyAndTerm"&gt;
  &lt;value string="true"/&gt;
  &lt;value string="false"/&gt;
  &lt;/item&gt;
  &lt;/form&gt;
  &lt;cookies&gt;
  &lt;item name="ASP.NET_SessionId"&gt;
  &lt;value string="1avxrf2rgcawh0nywaed03bd"/&gt;
  &lt;/item&gt;
  &lt;/cookies&gt;
  &lt;/error&gt;
  </code></pre>