0.1.0 • Published 8 years ago
glad-redis-session v0.1.0
Glad Connect Session
A plugin for the Glad JS Framework to handle sessions using connect, redis.
The configuration uses the cookie object in your config.js
file.
cookie : {
resave : false,
saveUninitialized : true,
name : 'connect.sid',
secret: 'my-super-secret-string-that-is-hopefully-longer-than-this-and-random',
maxAge : 3600000 * 24
}
From here You should read the docs for connect-redis at Connect Redis in order to undersatn how to work with the session object that will be available on the request object.
0.1.0
8 years ago