title: session_set_cookie_params seems to work but cookies are not affected
body: <p>I'm using HTTPS and I would like to set the secure attribute for the <code>PHPSESSID</code> and the other <code>cookies</code> I have created.</p>
  
  <pre><code>session_set_cookie_params(0,'/','', isset($_SERVER["HTTPS"]));
  session_start();
  $data = session_get_cookie_params();
  foreach ($data as $key=&gt;$value) {
      echo $key.$value;
  }
  </code></pre>
  
  <p>The function seems to work, in fact, printing out <code>session_get_cookie_params()</code> the secure attribute  is equal to 1.<br>
  But, when I check my cookie state by <code>Firefox</code> or by <code>Firebug+Firecookie</code> they appear to be not affected at all by the statement. Even changing the domain attribute gives the same results.</p>
  
  <p>I'm working on XAMPP, on Ubuntu and on localhost (localhost should have a special treatment for security issues, maybe).
  Thanks for your help!</p>