How can I create cookies in the controller and access it in any view just like for example
User.Identity.Name
I can use that code anywhere
....
//create cookie
var cookie = new HttpCookie("cookieName");
cookie.Value = "value";
Response.Cookies.Add(cookie);
//remove cookie
var cookie = new HttpCookie("cookieName");
cookie.Expires = DateTime.Now.AddDays(-1d);
Response.Cookies.Add(cookie);
//To Request the cookies value
var val = Request.Cookies["cookieName"].Value;
....