title: How to clear cookie in asp.net mvc?
body: <p>I have tried the following but, the cookie is not expired after the given time.
  Can you please look into my code</p>
  
  <pre><code>System.Web.HttpCookie currentUserCookie = System.Web.HttpContext.Current.Request.Cookies["Userdata"];
  System.Web.HttpContext.Current.Response.Cookies.Remove("Userdata");
  currentUserCookie.Expires = DateTime.Now.AddMinutes(10);
  </code></pre>
  
  <p>Can anyone help me?</p>