twee-session-extension

    0.0.3 • Public • Published

    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"
            }
        }
    };
    

    Install

    npm i twee-session-extension

    DownloadsWeekly Downloads

    0

    Version

    0.0.3

    License

    MIT

    Last publish

    Collaborators

    • mesin