PHP Classes

File: vendor/symfony/http-foundation/Tests/Fixtures/response-functional/cookie_samesite_strict.php

Recommend this page to a friend!
  Classes of Stanley Aloh   Tic Tac Toe Multiplayer   vendor/symfony/http-foundation/Tests/Fixtures/response-functional/cookie_samesite_strict.php   Download  
File: vendor/symfony/http-foundation/Tests/Fixtures/response-functional/cookie_samesite_strict.php
Role: Example script
Content type: text/plain
Description: Example script
Class: Tic Tac Toe Multiplayer
Manage the interactions ofTic-Tac-Toe game players
Author: By
Last change:
Date: 9 days ago
Size: 247 bytes
 

Contents

Class file image Download
<?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();