twee-session-extension
v0.0.3
Published
Session Extension for Twee.io Framework - MVC Framework for Node.js based on Express.js
Downloads
3
Maintainers
Readme
twee-session-extension
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"
}
}
};