Commits

Anonymous committed f7ac0f6

cooooookkkkkiiieee

Comments (0)

Files changed (2)

     if(isset($_GET['val'])) {
         $value = $_GET['val'];
     }
-    setcookie("TestCookie", $value, time()+3600);
+    setcookie("AnotherTestCookie", $value, time()+3600);
     header('Location: http://cookietest-host.wurdig.com');
 <?php
     $value = 'no cookie';
-    if(isset($_COOKIE['TestCookie'])) {
+    if(isset($_COOKIE['AnotherTestCookie'])) {
         $value = $_COOKIE['TestCookie'];
     }
     file_put_contents('log', $value, FILE_APPEND);