Setting session.cookie_samesite=None in php ini does not set attribute of session samesite
Bug #1905109 reported by
Bob Tanner
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
php |
Unknown
|
Unknown
|
|||
php7.2 (Ubuntu) |
Triaged
|
Undecided
|
Unassigned | ||
Bionic |
Incomplete
|
Wishlist
|
Unassigned |
Bug Description
I think this issue is related to the bug tracked at https:/
Test script:
------------
<?php
session_
'SameSite' => 'None',
'Secure' => true
]);
session_start();
var_dump(
?>
Developer Tools results of the script run with php7.2 and Chrome 87.0.4280.67 show a checkmark in the Secure column, nothing/blank in the SameSite column, Medium in the Priority column.
Developer Tools results of the script run with php7.4 and Chrome 87.0.4280.67 show a checkmark in the Secure column, "None" (no quotes" in the SameSite column, Medium in the Priority column.
affects: | php-defaults (Ubuntu) → php7.2 (Ubuntu) |
To post a comment you must log in.
To clarify, you're saying it works properly for you with php7.4 but not with php7.2? If that's true then there might be a patch to pull from upstream, although the bug you link isn't pointing to one, just a doc fix.
Also, what version of Ubuntu are you running? We only have php7.2 on bionic (18.04), would I guess correctly that's what you're on?