Sign in
webkit
/
WebKit
/
d158dceef24649669aba9fdeae8c00646ba7bdc2
/
.
/
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"
;
}
?>