Function MongoSessionStore.this
Constructs a new MongoDB session store.
this
(
string url,
string collection = "sessions"
) @safe;
Parameters
Name | Description |
---|---|
url | URL of the MongoDB database (e.g. "}ongodb://localhost/mydb" ) |
database | Name of the database to use |
collection | Optional collection name to store the sessions in |