Doc #80677 [Csd]: session.cookie_samesite missing from INI list
| From: | matt at silverstripe dot com | Date: | Thu, 28 Jan 2021 23:32:05 +0000 |
| Subject: | Doc #80677 [Csd]: session.cookie_samesite missing from INI list | ||
| References: | 1 | Groups: | php.doc.bugs |
| Request: | Send a blank email to doc-bugs+get-18466@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=80677&edit=1
ID: 80677
User updated by: matt at silverstripe dot com
Reported by: matt at silverstripe dot com
Summary: session.cookie_samesite missing from INI list
Status: Closed
Type: Documentation Problem
Package: *Configuration Issues
Operating System: N/A
PHP Version: Irrelevant
Assigned To: cmb
Block user comment: N
Private report: N
New Comment:
Thanks Christoph! I'll keep that in mind for the future. Including the list directly from
session rather than duplicating is a great idea.
Previous Comments:
------------------------------------------------------------------------
[2021-01-28 15:49:07] mumumu@php.net
Automatic comment on behalf of mumumu@mumumu.org
Revision: http://git.php.net/?p=doc/ja.git;a=commit;h=9a8028fd30b434c99175c724efc61d1dc1a78c22
Log: Fix #80677: session.cookie_samesite missing from INI list
------------------------------------------------------------------------
[2021-01-28 11:06:18] cmb@php.net
Thank you for reporting this issue.
Generally, you can submit pull requests to doc-en:
<https://github.com/php/doc-en/pulls>.
------------------------------------------------------------------------
[2021-01-28 11:05:11] cmb@php.net
Automatic comment on behalf of cmbecker69@gmx.de
Revision: http://git.php.net/?p=doc/en.git;a=commit;h=7dc5a6466b5c49cd712fc19a520f106b4d2d1110
Log: Fix #80677: session.cookie_samesite missing from INI list
------------------------------------------------------------------------
[2021-01-28 04:13:21] matt at silverstripe dot com
Description:
------------
Hi there,
This page lists all runtime configuration options for the session extension and this contains 36
config options (starting with 'session'): https://www.php.net/manual/en/session.configuration.php
This page lists all php.ini directives that can be set and contains 33 config options (starting with
'session'): https://www.php.net/manual/en/ini.list.php
Notably, a developer on our team believed that we couldn't use ini_set() for the
session.cookie_samesite option, as it is only listed on the former page and not the latter.
I would be happy to contribute a fix to the docs to get these two pages in sync, but I'm not
sure where exactly to do that and the 'About the manual > How to help improve the
documentation' section didn't list a Git repo or similar where I could submit a PR - hence
raising this bug report. If there's a public place where I can help resolve this, please point
me in the right direction and I'm happy to update and close this instead.
Expected result:
----------------
The list of session config options should be in sync between the global table of all php.ini
directives and the one in the session extension documentation.
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=80677&edit=1