//删除全部Cookie
for (int i = 0; i < Request.Cookies.Count; i++)
{
string cookiesName = Request.Cookies[i].Name;
HttpCookie cookie = new HttpCookie(cookiesName);
cookie.Expires = DateTime.Now.AddDays(-1);
Response.Cookies.Add(cookie);
}
你可以参考一下:
你是怎么设置的,贴出代码来。你是用js清理的,还是。net