title: A new JSESSIONID is created on every page refresh but not from all browsers
body: <p>I am using Grails 2.4.3 with shiro plugin 1.2.1 on Jetty 9.1.5
  The problem is that a new JSESSIONID is generated every time a page is reloaded (Shiro should not do this).</p>
  
  <p>But it gets really strange since this is not always the case:
  If I use Chrome, Firefox or IE from a Windows 7 machine, I get the problem.
  If I use Chrome or Firefox on a machine with Ubuntu, the behavior is the right one (the JSESSIONID cookie is kept even when the page is reloaded)</p>
  
  <p>I tried to use a different cookie name as someone else suggested in other post but this did not fix the problem; the cookie with the new name was being generated again on every page refresh.</p>
  
  <p>The serverURL I use in my grails application is of the form <code>http://subdomain2.subdomain1.com</code> as it is suggested (no slash at the end)</p>
  
  <p>I checked the requests from all the browsers and they all look the same (with the same headers except for the user-agent) so I don't really understand why the server creates a new session with every refresh in some cases and it does not on some others.</p>
  
  <p>I have a HttpSessionListener listener on 'sessionCreated' so I can perfectly see that.
  ... but I don't understand why and this is driving me nuts.
  Any suggestions? </p>