There is a setUsingCookies
method that needs to be called on the WebApplicationHandler
object. This
can be called from your usual Jetty xml configuration file when you configure your web-app:
<Call name="addWebApplication"> <Arg>/jetty/*</Arg> <Arg>/demo/webapps/jetty</Arg> <Call name="getWebApplicationHandler"> <Set name="usingCookies">false</Set> </Call> </Call>