Sunday 14 January 2018

How do sessions work?

Hey there, I'm using Express.js and express-session for sessions (And MySQL to save them).When I'm Authorizing on my PC it saves the session in the DB And if I'm trying to get on my website again I don't have to re-login because it picks up the sessionID from the DB But, when I'm restarting my PC and trying to get back on the website, I need to login again because there's a new session ID? what can I do?

Submitted January 14, 2018 at 02:09PM by TheOnlyArtz

No comments:

Post a Comment