title: Creating and accessing Cookies in ASP.NET MVC3
body: <p>How can I create cookies in the controller and access it in any view just like for example</p>
  
  <pre><code>User.Identity.Name
  </code></pre>
  
  <p>I can use that code anywhere since the user has logged in and it's also removed when the user log out based on the default code of</p>
  
  <pre><code>FormsAuthentication.SetAuthCookie
  </code></pre>
  
  <p>Also I want to know how to delete or clear that cookie.</p>