nav.groups.storage

Backend: MongoDB

MongoDB session store backend.

Backend: MongoDB

MongoDB session store.

Feature mongodb. Provides a SessionStore implementation backed by MongoDB collections.

Collections

  • sessions — document per session with metadata.
  • messages — embedded array or separate collection with session_id index.

Configuration

[store.session.mongodb]
url = "mongodb://localhost:27017"
database = "behest"

When to use

  • Existing MongoDB infrastructure.
  • Document-oriented session data with flexible schema.

See also

Related components

Edit this page on GitHub →