php if(isset($_POST["ein"]) && !empty($_POST["name"])){ setcookie("cookie", $_POST["name"], time() +1000,"/"); echo @$_COOKIE["cookie"]; } else{ echo "geben sie ein namen ein"; } if(isset($_POST["loe"]) ){ setcookie("cookie", $_POST["name"], time() -1000,"/");} php php1 session_start(); $_SESSION["session"] = $_POST["name"]; ?> php2 session_start(); echo $_SESSION["session"]; php |