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

Commita77e3d0

Browse files
committed
Merge pull request#2856 from drak/patch-1
Clarify php session bridge cookbook.
2 parentsf5e9cd1 +cefeeb8 commita77e3d0

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

‎cookbook/session/php_bridge.rst‎

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,4 +33,14 @@ the example below:
3333
storage_id:session.storage.php_bridge
3434
handler_id:session.handler.native_file
3535
36-
For more details, see:doc:`/components/http_foundation/session_php_bridge`.
36+
..note::
37+
38+
If the legacy application requires it's own session save-handler, do not
39+
override this, rather set ``handler_id: ~``. Note that a save handler cannot
40+
be changed once the session has been started. If the application starts the
41+
session before Symfony initializes the save-handler will have already been
42+
set. You will need ``handler_id: ~``. Only override the save-handler if you
43+
are sure the legacy application can use the Symfony save-handler without
44+
side effects and that the session has not been started before Symfony inializes.
45+
46+
For more details, see:doc:`/components/http_foundation/session_php_bridge`.

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp