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的数量也跟着增加?
- 1 回答
- 0 关注
- 1279 浏览
添加回答
举报
0/150
提交
取消