Skip to content

Redis session example #137

@alesmenzelsocialbakers

Description

@alesmenzelsocialbakers

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions