File tree Expand file tree Collapse file tree 1 file changed +8
-7
lines changed Expand file tree Collapse file tree 1 file changed +8
-7
lines changed Original file line number Diff line number Diff line change @@ -994,7 +994,14 @@ working MongoDB connection in your Symfony application as explained in the
994
994
`DoctrineMongoDBBundle configuration `_ article.
995
995
996
996
Then, register a new handler service for ``MongoDbSessionHandler `` and pass it
997
- the MongoDB connection as argument:
997
+ the MongoDB connection as argument, and the required parameters:
998
+
999
+ ``database ``:
1000
+ The name of the database
1001
+
1002
+ ``collection ``:
1003
+ The name of the collection
1004
+
998
1005
999
1006
.. configuration-block ::
1000
1007
@@ -1175,12 +1182,6 @@ configure these values with the second argument passed to the
1175
1182
1176
1183
These are parameters that you can configure:
1177
1184
1178
- ``database ``:
1179
- The name of the database
1180
-
1181
- ``collection ``:
1182
- The name of the collection
1183
-
1184
1185
``id_field `` (default ``_id ``):
1185
1186
The name of the field where to store the session ID;
1186
1187
You can’t perform that action at this time.
0 commit comments