我正在使用Google Cloud CDN缓存一个HTML页面。
我已经根据文档配置了所有正确的标题,并且页面缓存很好。现在,我想更改它,以便它只在req时缓存...
Var httpContext = new defaulthttp context ();
Var abc = httpContext.Request.Cookies["abc"];
我想将cookie分配给控制器上下文
我在使用FormsAuthenticationTicket创建非持久cookie时遇到了问题。我想在票证中存储用户数据,所以我不能使用FormsAuthentication.SetAuthCookie() 或FormsAuthentic.