Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

persistent sessions for express stored in redis

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 lib
Octocat-spinner-32 .gitignore
Octocat-spinner-32 LICENSE
Octocat-spinner-32 README.md
Octocat-spinner-32 TODO.md
Octocat-spinner-32 package.json
README.md

Express-Session-Redis

Currently express sessions only live in memory. This allows for persistent sessions info to be stored in redis.

You Need

Install Kiwi Dependencies

% kiwi install express
% kiwi install redis-client
% kiwi install express-session-redis

Running

Setting this enviornmental variable to true flushes the db everytime

% export MIGRATE_EXPRESS_SESSIONS=true

Testing

% bin/spec
Something went wrong with that request. Please try again.