c# 笔记cookie
if (Request.Cookies["svpoint"] != null) { Request.Cookies["svpoint"].Value = lst[0].s_SvcID.ToString(); } else { HttpCookie aCookie = new HttpCookie("svpoint"); aCookie.Value = lst[0].s_SvcID.ToString(); aCookie.Expires = DateTime.Now.AddDays(1); Response.Cookies.Add(aCookie); }