Skip to content

Conversation

@Sesquipedalian
Copy link
Member

Fixes #8365

@Sesquipedalian Sesquipedalian merged commit d4662fb into SimpleMachines:release-2.1 Dec 25, 2024
8 checks passed
@Sesquipedalian Sesquipedalian deleted the 2.1/sid branch December 25, 2024 23:25
@sbulen
Copy link
Contributor

sbulen commented Dec 30, 2024

I think this is an issue... I believe the constant SID includes more than just session_id...

From the PHP manual:
SID (string)
Constant containing either the session name and session ID in the form of "name=ID" or empty string if session ID was set in an appropriate session cookie. This is the same id as the one returned by session_id().

In other words, I think the replacement for the constant SID must look something like: "PHPSESSID=yadayadayada". session_id is only the yadayadayada part....

Note also that the "PHPSESSID" part can also be renamed in session.name as well, e.g., by the site admin.

@Sesquipedalian
Copy link
Member Author

For now, I have reverted these changes and added a stop-gap solution for SMF 2.1 in #8388

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants