Is there any way to get cookie response quickly?
<p>I have written a simple code in page <strong>test_cookie.php</strong> to work with cookies.</p>

<pre><code>if(isset($_GET['data'])) { 
    setcookie('test_cookie', $_GET['data'], time()+60*60*24*30); 
}
echo 'Cookie name is: ' . $_COOKIE['test_cookie'];
</code></pre>

<p>Now once cookie is set to something, and I set the value to something else (using $_GET), then the content value doesn't change quickly. I have to refresh it again, if a new value comes.</p>

<p>Here is a picture example:</p>

<p><img src="http://i.stack.imgur.com/bSLc0.png" alt="Cookie Problem"></p>
