I need to add HttpOnly to all the cookies on my PrimeFace project.
I have tried to set-up the cookies through the web.xml web.xml
but the cookie that is created on the layout.js poseidon_expandeditems is created twice, once with the flag HttpOnly, but the other without it.
How can I set all the cookies created in my project to have the HttpOnly?