[RFC] Add SameSite cookie attribute parameter
| From: | G. P. B. | Date: | Sat, 14 Jan 2023 15:14:05 +0000 |
| Subject: | [RFC] Add SameSite cookie attribute parameter | ||
| Groups: | php.internals | ||
| Request: | Send a blank email to internals+get-119267@lists.php.net to get a copy of this message | ||
Hello Internals,
I would like to start the discussion about the Add SameSite cookie
attribute parameter RFC:
https://wiki.php.net/rfc/same-site-parameter
This proposes to add an optional same site parameter to the setrawcooki(),
setcookie() and session_set_cookie_params() that takes a a value a new
SameSite enum:
enum SameSite {
case None;
case Lax;
case Strict;}
Best regards,
George P. Banyard