for(int i = 0; i < Request.Cookies.Count; i++) { Request.Cookies[i].Expires = DateTime.Now.AddDays(-1); Response.Cookies.Add(Request.Cookies[i]); }
代码里是给response.cookies添加项,为何会导致request.cookies的数量也跟着增加?
Stardust1001
相关分类