How to enable/disable httpOnly Cookie in Tomcat
Issue
- How do I enable
httpOnly
cookie in Tomcat? - I tried setting
<httponly>
to false in my web.xml but it had no impact; how can I disablehttpOnly
cookies on Tomcat?
Environment
- Red Hat JBoss Enterprise Web Server (EWS)
- 1.x
- 2.x
- 3.x
- 5.x
- Tomcat
- 7
- 8
- 9
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.