Issue #2631220: Apply changes from MR 2210 to 11.x
Applies the changes from MR 2210 by James Gilliland to 11.x, with some modifications.
Differences from MR 2210:
-
SessionHandler::updateTimestamp()
explicitly updates the timestamp. This is consistent with the PHP documentation and with several of Symfony's session storage handlers. - Uses the current logic of
SessionHandler::read
for the newSessionHandler::doRead
. - Uses the current logic of
SessionHandler::write
for the newSessionHandler::doWrite
. - Uses the current logic of
SessionHandler::destroy
for the newSessionHandler::doDestroy
. - Adds an ini setting for
session.use_strict_mode
. - Adds
#[\SensitiveParameter]
to relevant methods. - Removes deprecation declaration on
WriteSafeSessionHandler::$wrappedSessionHandler
. - Adds a test.
- Modifies
TestSessionHandlerProxy
to implement\SessionUpdateTimestampHandlerInterface
. This was required to fix failing tests.
See !2210
Closes #2631220