How to enable/disable httpOnly Cookie in Tomcat
Issue
- How do I enable
httpOnlycookie in Tomcat? - I tried setting
<httponly>to false in my web.xml but it had no impact; how can I disablehttpOnlycookies 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 of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
