asp.net删除cookie

 HttpCookie c = new HttpCookie("shoppingcart");
 c.Expires 
= DateTime.Now.AddDays(-90);
 Response.Cookies.Add(c);

 

posted @ 2010-03-04 11:07  Ethan_村长  阅读(309)  评论(0编辑  收藏  举报