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
}
}));