MongoDB session backend

Apache::Session::MongoDB is a faster shareable session backend

Setup

Install and launch a MongoDB server. Install Apache::Session::MongoDB Perl module.

In the manager: set Apache::Session::MongoDB in General parameters » Sessions » Session storage » Apache::Session module and add the following parameters (case sensitive):

Required parameters
Name Comment Example
host MongoDB server 127.0.0.1:27017
dbName Session database (default: llConfDB) llConfDB
Optional parameters (see MongoDB::Client man page)
db_name Admin database (dafault: admin) admin
auth_mechanism Authentication mechanism PLAIN
auth_mechanism_properties
connect_timeout Connection timeout 10000
ssl Boolean or hash ref (default: 0) 1
username Username to use to connect lluser
password Password llpassword

Security

Restrict network access to the MongoDB server. For remote servers, you can use SOAP session backend in cunjunction to increase security for remote server that access through an unsecure network