Frage

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.

War es hilfreich?

Lösung

In web.xml file,

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

You can see in

Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow
scroll top