File tree Expand file tree Collapse file tree 6 files changed +535
-314
lines changed Expand file tree Collapse file tree 6 files changed +535
-314
lines changed Original file line number Diff line number Diff line change 456
456
/templating/namespaced_paths /templates
457
457
/templating/embedding_controllers /templates
458
458
/templating/inheritance /templates
459
+ /doctrine/pdo_session_storage /session/database
460
+ /doctrine/mongodb_session_storage /session/database
Load Diff This file was deleted.
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -1154,6 +1154,8 @@ The service id used for session storage. The ``session.storage`` service
1154
1154
alias will be set to this service id. This class has to implement
1155
1155
:class: `Symfony\\ Component\\ HttpFoundation\\ Session\\ Storage\\ SessionStorageInterface `.
1156
1156
1157
+ .. _config-framework-session-handler-id :
1158
+
1157
1159
handler_id
1158
1160
..........
1159
1161
@@ -1162,10 +1164,7 @@ handler_id
1162
1164
The service id used for session storage. The default ``null `` value means to use
1163
1165
the native PHP session mechanism. Set it to ``'session.handler.native_file' `` to
1164
1166
let Symfony manage the sessions itself using files to store the session
1165
- metadata.
1166
-
1167
- If you prefer to make Symfony store sessions in a database read
1168
- :doc: `/doctrine/pdo_session_storage `.
1167
+ metadata. You can also :doc: `store sessions in a database </session/database >`.
1169
1168
1170
1169
.. _name :
1171
1170
Original file line number Diff line number Diff line change @@ -121,9 +121,8 @@ session metadata files:
121
121
]);
122
122
123
123
Check out the Symfony config reference to learn more about the other available
124
- :ref: `Session configuration options <config-framework-session >`. Also, if you
125
- prefer to store session metadata in a database instead of the filesystem,
126
- check out this article: :doc: `/doctrine/pdo_session_storage `.
124
+ :ref: `Session configuration options <config-framework-session >`. You can also
125
+ :doc: `store sessions in a database </session/database >`.
127
126
128
127
Basic Usage
129
128
-----------
@@ -219,7 +218,7 @@ More about Sessions
219
218
.. toctree ::
220
219
:maxdepth: 1
221
220
222
- /doctrine/pdo_session_storage
221
+ /session/database
223
222
session/locale_sticky_session
224
223
session/php_bridge
225
224
session/proxy_examples
You can’t perform that action at this time.
0 commit comments