如何在ASP.NET窗体身份验证重定向上设置缓存控件标头?
我有一个使用标准表单身份验证的ASP.NET应用程序。想象一下下面的场景如何在ASP.NET窗体身份验证重定向上设置缓存控件标头?,asp.net,authentication,caching,forms-authentication,Asp.net,Authentication,Caching,Forms Authentication,我有一个使用标准表单身份验证的ASP.NET应用程序。想象一下下面的场景 用户(未经身份验证)请求(需要对用户进行身份验证) 答复: HTTP/1.1 302 Found Cache-Control: private Content-Type: text/html; charset=utf-8 Location: /Login?ReturnUrl=%2fFoo (rest of response headers and body omitted...) 找到HTTP/1.1 302 缓存控制:
缓存控制:no Cache
头来阻止Chrome这样做。我可以让Forms Auth模块执行此操作吗