How to include more request urls in a session cookie path in Tomcat?

By default, Tomcat uses the web application name (context path) as the path to the session cookie when creating the session cookie. Is there a way to influence this programmatically? I would like to include a subset of the servlet path. (This is for a multi-user web application in which a user can log in to more than one tenant at a time in different windows.) I do not want to install it in a fixed line in the configuration file.

+4
source share

Source: https://habr.com/ru/post/1434850/


All Articles