Running our JRuby/Rails application locally on rails/rack, the session id is reset/renewed in session/abstract_store.rb using the DestroyableSession destroy method. Each new request coming in, using the same browser, will generate a new session id.
When the application is deployed to Tomcat and a request is completed. If the same browser window is used and a subsequent transaction is submitted, the session id remains the same between transactions and no new session id is created.
How does running on Tomcat cause the difference in session handling?