审查视图

vendor/symfony/http-foundation/Tests/Fixtures/response-functional/cookie_samesite_strict.php 247 字节
王智 authored
1 2 3 4 5 6 7 8
<?php

use Symfony\Component\HttpFoundation\Cookie;

$r = require __DIR__.'/common.inc';

$r->headers->setCookie(new Cookie('CookieSamesiteStrictTest', 'StrictValue', 0, '/', null, false, true, false, Cookie::SAMESITE_STRICT));
$r->sendHeaders();