foreach (HttpCookie cookie in Response.Cookies)
{
if (cookie.Name.Contains("smscookie_"))
{
cookie.Expires = DateTime.Now.AddDays(-1);
Response.Cookies.Add(cookie);
}
}
HttpCookie cookie=new HttpCookie();
cookie.Name="smscookie";
cookie.Expires = DateTime.Now.AddDays(-1);
Response.Cookies.Add(cookie);
欢迎光临 苏飞论坛 (http://www.sufeinet.com/) | Powered by Discuz! X3.4 |