Asp.Net Mvc清空指定Cookie
删除指定Cookie
HttpCookie hc = Request.Cookies["user"]; hc.Expires = DateTime.Now.AddDays(-1); Response.AppendCookie(hc);
Asp.Net Mvc清空指定Cookie
删除指定Cookie
HttpCookie hc = Request.Cookies["user"]; hc.Expires = DateTime.Now.AddDays(-1); Response.AppendCookie(hc);
版权所属: www.yunjson.com
本文链接: http://www.yunjson.com/articleinfo/23/
特别声明:如需转载,请以链接形式注明本文出处!
QQ技术群:308250404
投稿邮箱:post@yunjson.com
针对有价值的原创技术投稿予以一定稿酬
期待有独特技术、独特想法的你来加入!