title: Cookies are not being set for '.amazonaws.com' in chrome 57 and 58 browsers
body: <p>Cookies are not being set for 'amazonaws.com' and sub-domains after upgrading to chrome 57 or 58.
  Earlier it used to work fine.</p>
  
  <p>Following is a test file in one of the EC2 instance, which sets a cookie in browser for domain '.amazonaws.com'.
  But, the cookie is never set. (Note: we access the EC2 public DNS which is a host in amazonaws.com)</p>
  
  <pre><code>&lt;?php
  $cookie_name = "user";
  $cookie_value = "John Doe";
  setcookie($cookie_name, $cookie_value, time() + (86400 * 30), "/",     ".amazonaws.com"); // 86400 = 1 day
  ?&gt;
  &lt;html&gt;
  &lt;body&gt;
  
  &lt;?php
  if(!isset($_COOKIE[$cookie_name])) {
      echo "Cookie named '" . $cookie_name . "' is not set!";
  } else {
      echo "Cookie '" . $cookie_name . "' is set!&lt;br&gt;";
      echo "Value is: " . $_COOKIE[$cookie_name];
  }
  ?&gt;
  </code></pre>
  
  <p>But when we set the cookie with our domain '.company.com', and accessed via our subdomain DNS. Cookie are being set there.</p>
  
  <p>This behaviour of cookie not being set happened only after upgrading to chrome 57 or 58.</p>
  
  <p>Any pointer on COOKIE specific changes to chrome updates? </p>