response.Cookies = request.CookieContainer.GetCookies(request.RequestUri);
CookieCollection cookieColl = response.Cookies;
CookieContainer cookieJar = new CookieContainer();
cookieJar.Add(response.Cookies);
Cookie co = new Cookie();
co.Name = "LtpaToken";
co.Value = "";
co.Domain = request.RequestUri.Host;
cookieJar.Add(co);
页面cookie保存与新增
最新推荐文章于 2024-08-08 18:34:38 发布