Disable tomcat cookie session only for some urls

Is it possible to disable cookie sessions for tomcat only for some url patterns for web applications?

All the examples I've seen so far disable sesssion cookies for the entire web application using the configuration in context.xml.

Just for contextualization, in my scenario I have a BLAZEDS poll channel that I would like to ignore.

Tks.

+4
source share
1 answer

The easiest way I know is to create a page filter to remove session cookies for these url patterns when the request arrives.

+2
source

All Articles