@shenziro opened this Issue on March 22nd 2019

According to https://matomo.org/docs/include-piwik-in-your-project/#bootstrap-php-execute-custom-code-before-matomo-runs the session name can be configured by setting the constant "PIWIK_SESSION_NAME".

This is not (longer?) possible. Tested with 3.9 and 3.9.1.

It seems that the session name is hardcoded in core/Session.php. I found no variable or constant to change it without fiddling around with the Session.php file and loosing my changes on every update.

@simivar commented on March 28th 2019 Contributor

It was removed back in 2014 by @mattab in 3ce2344f57fe91bf9f5b824d33129538540941fc.

@mattab could you please provide some context why it was removed and if it can/should be restored?

@mattab commented on March 28th 2019 Member

It is a bug I introduced I believe. @shenziro @simivar please feel free to open a PR to fix this issue again and we will merge it (since it is a documented feature). Thanks :+1:

This Issue was closed on April 1st 2019
Powered by GitHub Issue Mirror