|  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.
Block user comment
Status: Assign to:
Bug Type:
From: matt at silverstripe dot com
New email:
PHP Version: OS:


 [2021-01-28 04:13 UTC] matt at silverstripe dot com
Hi there,

This page lists all runtime configuration options for the session extension and this contains 36 config options (starting with 'session'):

This page lists all php.ini directives that can be set and contains 33 config options (starting with 'session'):

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.


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2021-01-28 11:05 UTC]
Automatic comment on behalf of
Log: Fix #80677: session.cookie_samesite missing from INI list
 [2021-01-28 11:05 UTC]
-Status: Open +Status: Closed
 [2021-01-28 11:06 UTC]
-Assigned To: +Assigned To: cmb
 [2021-01-28 11:06 UTC]
Thank you for reporting this issue.

Generally, you can submit pull requests to doc-en:
 [2021-01-28 15:49 UTC]
Automatic comment on behalf of
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: Sat Jun 22 13:01:29 2024 UTC