Delicious Cookies

Cookies Received by the Server with Page Request (PHP)

None

Cookies Found by the Browser (JavaScript)

Copyright © 2018 Jefferson Scher. 4/1/2018

PHP to set the cookie headers:

<?php
setcookie("servertime", time(), time()+(3600) , $path = "/");
$chip = trim($_GET["cc"]);
if ($chip == "d"){
  setcookie("chocolatechip", "dark", time()+(3600) , $path = "/");
} else {
  setcookie("chocolatechip", "semisweet", time()+(3600) , $path = "/");
}
?>