Skip to content

Prevent invalid sessions on restart of application #31

@crunchtime-ali

Description

@crunchtime-ali

I am using koa-generic-session with koa-redis. Everytime I restart my application all my sessions are invalid. I use it together with Passport and need to login again. How can I prevent this?

I setup the store with only basic configuration items:

const redisStore = require('koa-redis')
let store = redisStore({
      host: 'localhost',
      port: 6379
 })

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions