Hi, was wondering if someone could clear this up for me. We have mod_jk in apache loadbalancing our JBOSS cluster with session affinity. We've noticed that once the JESSIONID has been created with the call to req.getSession() and the jvmroute encoded by the tomcat worker, that if the JBOSS instance that originally created the HttpSession is taken off line the next JBOSS instance that receives the request doesn't rewrite the cookie with the new JESSIONID for that app server?
Is that the correct behaviour? I was under the impression that a call to req.getSession() would either return that users session or create a new one for that server and hence write that value to the cookie, providing the browser supports cookies? Should the value of the original JSESSIONID be overwritten with the new value? We're not using any Tomcat clustering or marking the app distributable in web.xml. Thanks James New to NET-A-PORTER.COM: 6 fabulous boutiques! http://www.net-a-porter.com/boutiques ______________________________________________________________________ CONFIDENTIALITY NOTICE The information in this email is confidential and is intended solely for the addressee. Access to this email by anyone else is unauthorised. If you are not the intended recipient, you must not read, use or disseminate the information. Any views expressed in this message are those of the individual sender, except where the sender specifically states them to be the views of Net a Porter Ltd. Net A Porter Ltd is a company registered in England & Wales Number: 3820604 Registered Office: The Dome, Whiteleys Centre, 151 Queensway, London, W2 4YN. _____________________________________________________________________