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