8000 Merge pull request #3018 from drak/patch-2 · symfony/symfony-docs@b65456b · GitHub
[go: up one dir, main page]

Skip to content

Commit b65456b

Browse files
committed
Merge pull request #3018 from drak/patch-2
Add note about PHP 5.3 behaviour and proxies.
2 parents cf7db08 + 70db62b commit b65456b

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
@@ -252,12 +252,17 @@ using the `Native*SessionHandler` classes, while
252252
:class:`Symfony\\Component\\HttpFoundation\\Session\\Storage\\Handler\\SessionHandlerProxy`
253253
will be used to wrap any custom save handlers, that implement :phpclass:`SessionHandlerInterface`.
254254

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

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

262+
.. note::
263+
264+
Before PHP 5.4, you can only proxy user-land save handlers but not
265+
native PHP save handlers.
266+
262267
.. _`php.net/session.customhandler`: http://php.net/session.customhandler
263268
.. _`php.net/session.configuration`: http://php.net/session.configuration

0 commit comments

Comments
 (0)
0