Questions tagged as 'express-session'

1
answer

Error in nodejs [closed]

I am trying to do the following. I have the endpoint sgts. / /secret /user/login //Post-Get /user/logout //Post /user/register //Post-Get /user/recuperar //Post-Get I have 2 unlogged and logged middlewares Here are my routes: router.u...
asked by 25.09.2016 / 18:36
1
answer

Query about nodejs middleware

I have the following routes and the following middlewares router.use(logged.unlogged); router.use("/logout",logged.logged); router.route("/login").get(login.login_get).post(login.login_post); router.route("/recuperar").get(recuperar.recuperar_...
asked by 25.09.2016 / 19:16
0
answers

NODE JS Express Session lost redirect Payment Gateway

I have an express session, but when I redirect to payment gateway, the gateway return to my page but the session is lost var session = require('express-session'); app.use(session( { name: "sessionData", secret: "mysecret"...
asked by 25.09.2018 / 18:19
0
answers

Socket.io cleans the req.session session

I have an app that uses express, express-session, socket.io and socket.io.streams. The client connects to the server using:    socket.connect ('/ namespace') But when the connection is achieved, my req.session object remains empty. Does a...
asked by 19.05.2018 / 21:54
1
answer

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

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 w...
asked by 30.04.2018 / 19:09