Question

I wanted to know, how I can override the jsessionid-cookie setting such as httpoly, secure and so on. I didn't find any setting or other easy possibility to set these things. Could it be something in the web.xml under session-config or can I add the settings via an servlet filter?

What would you suggest.

Was it helpful?

Solution

In web.xml file,

<session-config>
        <cookie-config>
           <http-only>true</http-only>
        </cookie-config>
</session-config>

You can see in

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top