Movatterモバイル変換


[0]ホーム

URL:


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

Sign up
Appearance settings

Commit805257e

Browse files
author
Drak
committed
Add note about PHP 5.3 behaviour and proxies.
1 parent1a8ec7c commit805257e

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

‎components/http_foundation/session_configuration.rst

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -252,12 +252,18 @@ 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+
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+
262268
.. _`php.net/session.customhandler`:http://php.net/session.customhandler
263269
.. _`php.net/session.configuration`:http://php.net/session.configuration

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp