cookie_samesite_strict.php 247 B

12345678
  1. <?php
  2. use Symfony\Component\HttpFoundation\Cookie;
  3. $r = require __DIR__.'/common.inc';
  4. $r->headers->setCookie(new Cookie('CookieSamesiteStrictTest', 'StrictValue', 0, '/', null, false, true, false, Cookie::SAMESITE_STRICT));
  5. $r->sendHeaders();