MongoSessionStore.this

Constructs a new MongoDB session store.

class MongoSessionStore
@safe
this
(
string url
,
string collection = "sessions"
)

Parameters

url string

URL of the MongoDB database (e.g. "mongodb://localhost/mydb")

collection string

Optional collection name to store the sessions in

Meta