Forum Replies Created

Viewing 1 post (of 1 total)
  • Author
  • in reply to: Express.js Sessions – A Detailed Tutorial #137


    Thanks, an interesting introduction. I have a quick question about this. Where is the best place to initialise a user’s session? I.e. a user visits, they get a new session, I want to give them some default values… Also, where can I interact with the session at its start? Is there a similar way to detect when a session ends? Both of these events would be useful for logging, etc. Many thanks!

Viewing 1 post (of 1 total)