CHttpDbSession is the child of the CHttpSession class. It allows to keep session data in database table. It is useful in case of showing some on-line statistics on your web page.
Resources ¶
Documentation ¶
Requirements ¶
- Yii 1.0 or above
- Database connection
Installation ¶
- Extract the release file under
protected/extensions
- Apply database schema
- Add to your main configure file redefinition:
'session' => array( 'class' => 'application.extensions.httpdbsession.CHttpDbSession, '),
Change Log ¶
June 5, 2009 ¶
- Initial release.
What does it differ from CDbHttpSession
Yii has CDbHttpSession already.
If you have any questions, please ask in the forum instead.
Signup or Login in order to comment.