Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit b65456b

Browse filesBrowse 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
Copy full SHA for b65456b

File tree

Expand file treeCollapse file tree

1 file changed

+6
-1
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+6
-1
lines changed

‎components/http_foundation/session_configuration.rst

Copy file name to clipboardExpand all lines: components/http_foundation/session_configuration.rst
+6-1Lines 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)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.