note 125299 rejected from function.setcookie by cmb

From: Date: Tue, 25 Aug 2020 06:30:45 +0000
Subject: note 125299 rejected from function.setcookie by cmb
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-215023@lists.php.net to get a copy of this message
Note Submitter: info at codekandis dot net ---- https://www.php.net/manual/en/function.setcookie.php#125241 > The " PHPSESSID " cookie will soon be rejected because its " sameSite " > attribute is set to " none " or an invalid value, and without " secure " > attribute. To learn more about the "sameSite" attribute, visit > https://developer.mozilla.org/docs/Web/HTTP/Headers/Set-Cookie/SameSite. Or directly as an option to session_start() ... <?php session_start( [ 'cookie_secure' => '1' ] ); ?>

« previous php.notes (#215023) next »