title: php SetCookie works in Firefox, but not IE
body: <p>I have two php scripts</p>
  
  <p>test.php</p>
  
  <pre><code>&lt;?php
   header("location: test2.php");
   setcookie("test", "8kFL4IZfjkBmV7AC", time()+60*60, '/');
   exit;
  ?&gt;
  </code></pre>
  
  <p>test2.php</p>
  
  <pre><code>&lt;?php
   var_dump($_COOKIE);
  ?&gt;
  </code></pre>
  
  <p>I then point my browser to test.php which redirects to test2.php. I then get the following results. </p>
  
  <p>In firefox, i get the following: </p>
  
  <pre><code>array
    'test' =&gt; string '8kFL4IZfjkBmV7AC' (length=16)
  </code></pre>
  
  <p>However in IE6, i get the following: </p>
  
  <pre><code>array
    'PHPSESSID' =&gt; string 'XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX' (length=32)
  </code></pre>
  
  <p>note: i have purposely X'd out the PHPSESSID above! </p>
  
  <p>Does anybody know where i am going wrong and why IE6 isnt showing my cookie. </p>
  
  <p>Thanks in advance</p>