Redis version 4+ together with Express Sessions throws error
Redis version 4+ will not work together with express sessions. To solve this use :
const client = createClient({
legacyMode: true
})
Redis version 4+ will not work together with express sessions. To solve this use :
const client = createClient({
legacyMode: true
})