Can't always read session cookie
<p>I have a page (mypage.html) which sets a cookie as follows:</p>

<pre><code>setcookie ("sessionid", md5 (uniqid (rand())));
</code></pre>

<p>Now, at the top of an include which displays the site header I have the following:</p>

<pre><code>echo "cookie is ". $_COOKIE['sessionid'];
</code></pre>

<p>When I am on mypage.html, which includes the header, the echo command displays the cookie name, as it should...e.g.</p>

<blockquote>
  <p>cookie is 4d40102ff2d2268d907dd31debc411e2 cookie is 4d40102ff2d2268d907dd31debc411e2 </p>
</blockquote>

<p>But if I move aeway from the page which set the cookie, all I see is </p>

<blockquote>
  <p>cookie is</p>
</blockquote>

<p>with no name - If I go back to mypage.html it reads it again with no problem. I have no clue how this can happen?? Any ideas?</p>
