cookies 如何存取主键?
Csharp代码
------解决方案--------------------------------------------------------
HttpCookie x = new HttpCookie("key","value");
Response.Cookies.Add(x);
取
Request.Cookies["key"].Value
------解决方案--------------------------------------------------------
从数据库读取到UserId
HttpCookie x = new HttpCookie("id",UserId);
------解决方案--------------------------------------------------------