1
0
mirror of https://github.com/php/php-src.git synced 2026-03-24 00:02:20 +01:00

partitioned option for setcookie/setrawcookie and sessions

RFC: https://wiki.php.net/rfc/CHIPS

Closes GH-12646.
Closes GH-12652.
This commit is contained in:
Niels Dossche
2023-11-10 23:50:24 +01:00
parent f9d95c649e
commit 1bba07ecc0
14 changed files with 196 additions and 25 deletions

View File

@@ -1329,6 +1329,9 @@ session.use_cookies = 1
; https://php.net/session.cookie-secure
;session.cookie_secure =
; https://php.net/session.cookie-partitioned
;session.cookie_partitioned = 0
; This option forces PHP to fetch and use a cookie for storing and maintaining
; the session id. We encourage this operation as it's very helpful in combating
; session hijacking when not specifying and managing your own session id. It is