I had done web scan for an application(built in struts and hibernate framework) deployed in jboss 5 which reported "Set-cookie does not use HTTPOnly keyword. The web application does not utilize HTTPOnly cookies
". What does it mean. I looked for some post and just added one line in my jboss/deploy/jbossweb.sar/context.xml
as
<SessionCookie secure="true" useHttpOnly="true" >
After setting that, I am getting error while running the application.
Is there any configuration that I am missing?
try this:
<SessionCookie secure="true" httpOnly="true" />