You can specify whether to track HTTP sessions using a cookie by setting the web.useCookie property in a Web-application configuration script, either webapp-${webapp}.xml or webapp-${webapp}-user.xml. For example:
<property name="web.useCookie" value="true"/>
To disable cookies for the Web application, set the value of web.useCookie to false; the default value is true.