0.0.3 • Published 9 years ago

twee-session-extension v0.0.3

Weekly downloads
3
License
MIT
Repository
github
Last release
9 years ago

twee-session-extension

Twee.io Logo

Gitter npm npm

Session Extension for Twee.io Framework - MVC Framework for Node.js and io.js based on Express.js.

Session depends of twee-cookies-extension and twee-cache-extension/redis. No need to store sessions in another places. First of all because if this is disk - it is not useful and you don't test your application in real environment. The second reason is that memory does not save your sessions after server restarts. And the last reason is that redis does not have these problems and it is used in production. So you work in the same environment as it is in production.

To install it use this command:

npm install twee-session-extension --save

Editing package.json of your application:

"dependencies": {
    "twee-session-extension": "*"
}

Turning extension ON in application/configs/twee.js:

module.exports = {
    "extensions": {
        "Session": {
            "module": "twee-session-extension"
        }
    }
};