Problem node.js express-session renews session with interval of time

0

When reloading page in nodejs, after logging in, it is updated to undefined and after a while returns and updates to the session established in the login, then returns to undefined and then to the session, in an infinite cycle Does anyone know why?

app.use(expressSession({
    secret: 'incubux',
    saveUninitialized: false,
    resave: false,
    cookie: {
        maxAge: 1000,
        expires: false
    }
}));
    
asked by Incubux Succubux 30.04.2018 в 19:09
source

1 answer

0

the solution was to change from express-session to cookie session and the problem is over link

    
answered by 01.05.2018 / 01:42
source