Sign in
webkit
/
WebKit
/
410be4ca7055be9179c217c85d9a7735750cf16d
/
.
/
LayoutTests
/
http
/
tests
/
cookies
/
resources
/
set-http-only-cookie.php
blob: 410e6fe1d54c62a10baa8045f0f49ae4ab34cedc [
file
] [
log
] [
blame
]
<?
php
if
(
$_GET
[
'cookieName'
])
{
setcookie
(
$_GET
[
'cookieName'
],
"1"
,
time
()
+
86400
,
"/"
,
""
,
FALSE
,
TRUE
);
echo
"Yeah"
;
}
else
{
header
(
"HTTP/1.0 200 OK"
);
echo
"FAILED: No cookieName parameter found.\n"
;
}
?>