$cookie_name = "login";
$cookie_value = "True";
setcookie($cookie_name, $cookie_value);
header("Location: http://Startseite.php");
exit;
#And this is on "Startseite.php"
if (isset($_COOKIE['login']))
echo "login erfolgreich"
The Echo dont give a Result. This says that my cookie is not set.I tried it with more Values, but with the same result.