<?php
session_start ();
?>
<form method="POST" action="./form.php">
<input type="password" name="p3"></input>
<input type="submit"></input>
</form>
<?php
setcookie ("c3", "Hallo", time () + 4800);
echo session_id () . "<br>\n";
echo htmlentities ($_COOKIE ["c3"]) . "<br>\n";
echo htmlentities ($_COOKIE ["c3a"]) . "<br>\n";
echo htmlentities ($_POST ["p3"]) . "<br>\n";
session_destroy ();
?>