Hi Guys,

I'm setting a cookie using php using:
setcookie('cookiename', 'cookiedetails');

And when i use:
echo $_COOKIE['cookiename'];

Nothing gets echo'd back untill i refresh the page again. And if i close the window and open up a new browser and go back to the page, the cookie doesn't exist anymore....

I checked my Windows Cookie directory and doesn't seem to be saving any cookie in there.

Any idea what im doing wrong or i've got the wrong idea?