MongoSessionStore.this

Constructs a new MongoDB session store.

  1. this(string url, string collection)
    class MongoSessionStore
    @safe
    this
    (
    string url
    ,
    string collection = "sessions"
    )
  2. this(MongoDatabase db, string collection)
  3. this(MongoCollection collection)

Parameters

url string

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

collection string

Optional collection name to store the sessions in

Meta