浏览模式: 普通 | 列表
11月, 2023 | 1
方法一、按照网上打开配置编辑器 ,将httpOnlyCookies设置为true,实际没有任何效果
attachments/202311/06_112921_20210909111026408.png
attachments/202311/06_112925_20210909111147882.png



方法二、通过配置出站规则getcookie添加HttpOnly

在Web.config的system.webServer中添加如下出站规则
                <rewrite>
                     <outboundRules>
                     <rule name="Add HttpOnly" preCondition="No HttpOnly">
...

阅读全文…
1