【发布时间】:2017-11-16 14:55:47
【问题描述】:
我对部署在 jboss 5 中的应用程序(内置 struts 和 hibernate 框架)进行了网络扫描,报告“Set-cookie does not use HTTPOnly keyword. The web application does not utilize HTTPOnly cookies”。这是什么意思。我找了一些帖子,只是在我的 jboss/deploy/jbossweb.sar/context.xml 中添加了一行
<SessionCookie secure="true" useHttpOnly="true" >
设置后,我在运行应用程序时遇到错误。
是否缺少任何配置?
【问题讨论】: