File tree Expand file tree Collapse file tree 1 file changed +7
-1
lines changed
components/http_foundation Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -252,12 +252,18 @@ using the `Native*SessionHandler` classes, while
252
252
:class: `Symfony\\ Component\\ HttpFoundation\\ Session\\ Storage\\ Handler\\ SessionHandlerProxy `
253
253
will be used to wrap any custom save handlers, that implement :phpclass: `SessionHandlerInterface `.
254
254
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 `
256
256
including `Native*SessionHandler ` classes which inherit from :phpclass: `SessionHandler `.
257
257
258
258
The proxy mechanism allows you to get more deeply involved in session save handler
259
259
classes. A proxy for example could be used to encrypt any session transaction
260
260
without knowledge of the specific save handler.
261
261
262
+ .. note ::
263
+
264
+ Under PHP 5.3, you cannot proxy the session handler interface for native PHP handlers,
265
+ only user handlers so if you write proxies, be aware they will only work for user-land
266
+ session save handlers.
267
+
262
268
.. _`php.net/session.customhandler` : http://php.net/session.customhandler
263
269
.. _`php.net/session.configuration` : http://php.net/session.configuration
You can’t perform that action at this time.
0 commit comments