Skip to content

Commit 6c23aeb

Browse files
committed
Merge branch '2.1' into 2.2
2 parents 63133ef + b65456b commit 6c23aeb

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

components/http_foundation/session_configuration.rst

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -249,12 +249,17 @@ using the `Native*SessionHandler` classes, while
249249
:class:`Symfony\\Component\\HttpFoundation\\Session\\Storage\\Handler\\SessionHandlerProxy`
250250
will be used to wrap any custom save handlers, that implement :phpclass:`SessionHandlerInterface`.
251251

252-
Under PHP 5.4 and above, all session handlers implement :phpclass:`SessionHandlerInterface`
252+
From PHP 5.4 and above, all session handlers implement :phpclass:`SessionHandlerInterface`
253253
including `Native*SessionHandler` classes which inherit from :phpclass:`SessionHandler`.
254254

255255
The proxy mechanism allows you to get more deeply involved in session save handler
256256
classes. A proxy for example could be used to encrypt any session transaction
257257
without knowledge of the specific save handler.
258258

259+
.. note::
260+
261+
Before PHP 5.4, you can only proxy user-land save handlers but not
262+
native PHP save handlers.
263+
259264
.. _`php.net/session.customhandler`: http://php.net/session.customhandler
260265
.. _`php.net/session.configuration`: http://php.net/session.configuration

0 commit comments

Comments
 (0)