can the cookie work together with header()?
i can't get my cookie after i use the header()
my code is as below :
if($done!=1)
{
header("Location:$PHP_SELF?done=1");
setcookie("cookie_1", "test");
}
else
{
header("Location:http://ejmen.com/dealer/index.php");
}
i can't get the value i have already set after the page has been redirect. is there any solution??

