cookie_page3.php in Zircon Profile 8
Same filename in this branch
Same filename and directory in other branches
File
vendor/behat/mink/driver-testsuite/web-fixtures/cookie_page3.phpView source
<?php
$hasCookie = isset($_COOKIE['foo']);
setcookie('foo', 'bar', 0, '/', null, false, true);
?>
<!DOCTYPE html>
<html>
<head>
<title>HttpOnly Cookie Test</title>
<meta http-equiv="Content-Type" content="text/html;charset=UTF-8"/>
</head>
<body>
<div id="cookie-status">Has Cookie: <?php
echo json_encode($hasCookie);
?></div>
</body>
</html>