MongoSessionStore.this

Constructs a new MongoDB session store using an existing DB.

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

Parameters

db MongoDatabase

the connected MongoDB database.

collection string

the collection name for the sessions collection.

Meta