PHP setcookie doesn't work on IE8
<p>the following code doesn't work on IE8.
i tried print_r ($_COOKIE) but it returned array(); 
please help me.     </p>

<pre><code>  1 &lt;?php
  2 $currentTime = time();
  3 
  4 $cookieName   = "go.hyde";
  5 $cookiePath   = "/";
  6 $cookieDomain = $_SERVER['SERVER_NAME'];
  7 $cookieValue  = strval($currentTime);       // value is issue time (Unix Time)
  8 $cookieExpire = strval($currentTime + 600); // expire is 10 minutes after issuing cookie
  9 
 10 setcookie($cookieName,
 11     $cookieValue,
 12     $cookieExpire,
 13     $cookiePath,
 14     $cookieDomain);
 15 
</code></pre>
