#CodeIgniter MongoDB Session Library An extension to CodeIgniter session library with optional MongoDB database backend.
The library extends CodeIgniter's native session library to use MongoDB as database backend. It's uses V2 branch of "CodeIgniter MongoDB Active Record Library" by Alex Bilbie as MongoDB interface. See below for installation instructions.
##Requirements
##Installation
-
Place
MY_Session.php
file inapplication/libraries
directory. -
Place
mongodb_session.php
file inapplication/config
directory. -
Make sure that you have installed MongoDB Active Record library and your MongoDB connection parameters are correctly setup in
application/config/mongodb.php
. -
Make sure that
sess_use_database
directive is set toTRUE
inapplication/config/config.php
file. -
Make sure
sess_use_mongodb
is set toTRUE
. Also setsess_collection_name
with MongoDB session collection name. Both config directives reside inapplication/config/mongodb_session.php
file.