Asp.Net Mvc清空指定Cookie

删除指定Cookie



HttpCookie hc = Request.Cookies["user"];
                hc.Expires = DateTime.Now.AddDays(-1);
                Response.AppendCookie(hc);


原文链接:Asp.Net Mvc清空指定Cookies