<?php
session_start ();
?>
<form method="POST" action="./form1.php">
<input type="text" name="txt1"></input>
<input type="submit"></input>
</form>
<?php
echo session_id () . "<br>\n";
echo htmlentities ($_POST ["txt1"]) . "<br>\n";
setcookie ("COOKIE66", "COOKIE66", time () + 1200);
echo htmlentities ($_COOKIE ["COOKIE66"]) . "<br>\n";
echo htmlentities ($_COOKIE ["COOKIE66A"]) . "<br>\n";
session_destroy ();
?>