I am trying to manage the state using HTTP session management on app server (tomcat, jboss, etc) when the web server (Apache HTTPD) is intercepting the request and making SSI (service side include) call to the app server. Here is the scenario: Browser invokes a page on apache httpd server which has an SSI include. The apache server process the SSI include and makes a call to the Tomcat server to get dynamic content from JSP/Servlet and sets a variable (eg UserId) in the HTTPSession. Then browser make another call, which will use SSI to call another service on tomcat that reads the session variable and prints it.The problem is that the Tomcat server is creating a new session on every request