<?php
session_start ();
?>
<form method="POST" action="./form1.php">
<input type="password" name="pwd1"></input>
<input type="submit"></input>
</form>
<?php
echo session_id () . "<br>\n";
setcookie ("Cookie57", "COOKIE57", time () + 60);
echo htmlentities ($_POST ["pwd1"]) . "<br>\n";
echo htmlentities ($_COOKIE ["Cookie57"]) . "<br>\n";
echo htmlentities ($_COOKIE ["Cookie57a"]) . "<br>\n";
session_destroy ();
?>