Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Plugin for connect app, that store sessions in Redis.
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
lib
README.md
package.json

README.md

Redis-based session store.

Plugin for connect apps.

Usage:

var connect = require('connect'),
    RedisSessionStore = require('redis-session-store');

var store = new RedisSessionStore( {reapInterval: 600000, maxAge: 600000 * 3} );
var server = connect.createServer(
    connect.logger(),
    connect.bodyDecoder(),
    connect.cookieDecoder(),
    connect.session( { store: store, secret: 'forty two' }),
    ....
);

server.listen(8080);

You can use prefix in constructor options to specify prefix for session keys. Default value is 'redis-store-'.

Something went wrong with that request. Please try again.