Skip to content

An extension to CodeIgniter session library with optional MongoDB database backend.

Notifications You must be signed in to change notification settings

tieutinh189/ci-mongodb-session

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 

Repository files navigation

#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.

##Sample screenshot CodeIgniter MongoDB Session Library - Sample session document

##Requirements

##Installation

  • Place MY_Session.php file in application/libraries directory.

  • Place mongodb_session.php file in application/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 to TRUE in application/config/config.php file.

  • Make sure sess_use_mongodb is set to TRUE. Also set sess_collection_name with MongoDB session collection name. Both config directives reside in application/config/mongodb_session.php file.

About

An extension to CodeIgniter session library with optional MongoDB database backend.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published