php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #80677 session.cookie_samesite missing from INI list
Submitted: 2021-01-28 04:13 UTC Modified: 2021-01-28 23:32 UTC
From: matt at silverstripe dot com Assigned: cmb (profile)
Status: Closed Package: *Configuration Issues
PHP Version: Irrelevant OS: N/A
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: matt at silverstripe dot com
New email:
PHP Version: OS:

 

 [2021-01-28 04:13 UTC] 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.


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2021-01-28 11:05 UTC] 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 11:05 UTC] cmb@php.net
-Status: Open +Status: Closed
 [2021-01-28 11:06 UTC] cmb@php.net
-Assigned To: +Assigned To: cmb
 [2021-01-28 11:06 UTC] 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 15:49 UTC] 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 23:32 UTC] matt at silverstripe dot com
Thanks Christoph! I'll keep that in mind for the future. Including the list directly from session rather than duplicating is a great idea.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Apr 25 10:01:29 2024 UTC