mongodbhttpsession MongoDB Http Session

  1. Requirements
  2. Usage
  3. History

MongoDB Http Session

Requirements

Yii 1.1.8 or above

Usage

Install

Extract the release file under protected/extensions

In config/main.php:

'session'=>array(
  'class'=>'ext.EMongoDbHttpSession',
),
Options
  • connectionString : host:port : defalut localhost:27017
  • dbName : database name : default test
  • collectionName : collaction name : default yiisession
  • idColumn : id column name : default id
  • dataColumn : data column name : default dada
  • expireColumn : expire column name : default expire
  • fsync : fsync flag : default false
  • safe : safe flag : default false
  • timeout : timeout miliseconds : default null i.e. MongoCursor::$timeout

History

2012/06/18 ver 1.3

Modify timeout to mongoTimeout

2011/08/02 ver 1.2

Modify destroySession

2011/08/01 ver 1.1

Add fsync, safe, timeout options

2011/07/05 ver 1.0

First Release

4 0
6 followers
1 159 downloads
Yii Version: 1.1
License: MIT
Category: Others
Developed by: aoyagikouhei
Created on: Jul 7, 2011
Last updated: 6 years ago

Downloads

show all

Related Extensions