Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Clarify php session bridge cookbook. #2856

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from Jul 28, 2013
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 11 additions & 1 deletion cookbook/session/php_bridge.rst
Original file line number Diff line number Diff line change
Expand Up @@ -33,4 +33,14 @@ the example below:
storage_id: session.storage.php_bridge
handler_id: session.handler.native_file

For more details, see :doc:`/components/http_foundation/session_php_bridge`.
.. note::

If the legacy application requires it's own session save-handler, do not
override this, rather set ``handler_id: ~``. Note that a save handler cannot
be changed once the session has been started. If the application starts the
session before Symfony initializes the save-handler will have already been
set. You will need ``handler_id: ~``. Only override the save-handler if you
are sure the legacy application can use the Symfony save-handler without
side effects and that the session has not been started before Symfony inializes.

For more details, see :doc:`/components/http_foundation/session_php_bridge`.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Both paragraphs must be indented.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

no, only the content of the note. The link about more details is not part of the note (it was already there)