摘要:
比如建立一个名为aspcn,值为灌水小鱼的cookieHttpCookie cookie = new HttpCookie["aspcn"];cookie.Value = "灌水小鱼";Response.AppendCookie(cookie);取出Cookie值也很简单HttpCookie cookie = Request.Cookies["aspcn"];cookieValue = cookie.Value;在一个Cookie中储存多个信息,那也没有问题。比如在名为aspcn的cookie下加多个信息HttpCookie cookie = new HttpCookie("aspcn");c 阅读全文