MongoSessionStore.this - multiple declarations
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. "mongodb://localhost/mydb" ) |
collection | Optional collection name to store the sessions in |
Function MongoSessionStore.this
Constructs a new MongoDB session store using an existing DB.
Parameters
Name | Description |
---|---|
db | the connected MongoDB database. |
collection | the collection name for the sessions collection. |
Function MongoSessionStore.this
Constructs a new MongoDB session store using a collection object.
Parameters
Name | Description |
---|---|
collection | the collection to store sessions in. |