Hello,
started as a feature request for the new session lib in 1.6 to support storage of userdata and flashdata optional in a database, i have released NGSession bc the current session lib in CI v1.6 still stores any userdata or flash variables in the cookie.
NGSession can be used transparently using cookies or the database. When using a database, only the session_id is stored in the cookie.
Overview
- NGSession is based on a combination of Codeignitors Session.php in version 1.6 and DBSession.
- Fully compatible with Codeignitors Session.php in version 1.54 and 1.6 and DBSession.
- Designed as drop-in replacement for CI Session and/or DBSession.
- Any config option like encryption and any functionallity like flash session variables are fully supported.
- When using a database, only the session_id is stored in a cookie. Any other data is stored in the database.
- When using without a database, all data is stored in a cookie.
- Both modi work fully tansparent.
More details can be found in the wiki: NGSession
The lib should work with CI v1.54 and v1.60.
Any feedback is appreciated.
Wolfgang
P.S. Thank you to the CI / EE Team for providing such a great framework.