title: HTTPS login not saving the JSESSIONID in a cookie
body: <p>We recently changed our login to use HTTPS, and we are experiencing issues with the login.</p>
  
  <p>After the login, the user is redirected to an unencrypted (HTTP) page. When it reaches this page, the site checks if the user is logged in. It creates a new session and it appears that the user is not logged in, and thus our user is redirected to the login page. If the user logs in again, it will work.</p>
  
  <p>The cookies are not set as https-only, but it seems like they don't work on http pages.</p>
  
  <p>Does anyone know why this might be happening.</p>
  
  <p><strong>Edit:</strong></p>
  
  <p>I should have mentioned that the page that displays the login is on a different URL. (There is a login page from the machine running the tomcat instance, but the marketing site is on a wordpress install and uses a different domain).</p>
  
  <p>I can't use the HTTP request first method to set the cookie, because the default Internet Explorer settings prevent the session cookie from being saved.</p>