express.io icon indicating copy to clipboard operation
express.io copied to clipboard

Redis session example

Open alesmenzelsocialbakers opened this issue 8 years ago • 0 comments

Example for redis sessions: https://github.com/techpines/express.io/blob/master/examples/sessions-redis/app.js

The example does not seem to be correct as RedisStore = require('connect-redis')(express) requires session and not the express.io itself.

Using express.io there results in the following error: TypeError: The super constructor to inherits must not be null or undefined. in connect-redis package

I suggest replace it with express.session.

alesmenzelsocialbakers avatar Apr 05 '17 10:04 alesmenzelsocialbakers