title: Jmeter unable to receive a new cookie
body: <p>I encounter a problem that Jmeter couldn't get the latest cookie from the http request. 
  There are 3 webs:</p>
  
  <ul>
  <li>Main page: it responds the initial cookie</li>
  <li>Login page: it requests with the initial cookie from 'Main page', and responds a new cookie</li>
  <li>Search page: it requests with the new cookie from 'Login page', and responds with correct result</li>
  </ul>
  
  <p>Now the problem is:</p>
  
  <ul>
  <li>Main page: requests and responds well</li>
  <li>Login page:　requests with the initial cookie, get the right response body, but couldn't get the 'set-cookie' in the response header (detailed in the structure)</li>
  <li>Search page: requests with the initial cookie, doesn't get the expected response</li>
  </ul>
  
  <p>The structure is:</p>
  
  <ul>
  <li>-Thread</li>
  <li>--HTTP Request Defaults: Protocol=https, and input the server name</li>
  <li>--HTTP Cookie Manager: 1. 'Login page' receives the 'set-cookie' in the response header while the Policy is rfc2965, but the 'Search
  page' request becomes 'no cookies'; 2. 'Login page' can't receives
  the 'set-cookie' in the response header while the Policy is not
  rfc2965 (all the others), 'Search page' requests with initial cookie</li>
  <li>--HTTP Request for Home page</li>
  <li>--HTTP Request for login page with HTTP Header Manager</li>
  <li>--HTTP Request for search page with HTTP Header Manager</li>
  <li>--View Results Tree</li>
  </ul>
  
  <p>The jmeter version is 4.0.</p>
  
  <p>How can I run the script for Search Page correctly?</p>