node.js and express Session are not working
Session are not working. I saved the session token
in post login
request and I did not received token
in dashboard request
when using: node app.js to instantiate the opening of your page inside the cmd line terminal what is the command to close out the page?
Well just a little rusty coding! Have intermediate knowledge and really this particular tutorial is using different stack( express, ejs, mongoose, and really i am only familiar with fundimental express knowledge). However, I am do not know how to close out the instance when using cmd line prompt cmd: node app.js to instantiate the opening of the project page that all!
Is there any fastify.addHook(‘onClose’, () -> {}) equivalent in Express Js?
As for the question, I’m trying to do some stuffs when the application is about to exit. Are there any express hooks or any solution to make the job done?