I developed a website using node.js as source code. Recently, I am trying to make it serverless and deploy to lambda. I will rewrite most of my code, but just do not understand how to save the session after the user logs in. I used the express session module, and all session data is written to the database.
To be honest, I don’t have a deep understanding of the sessions. I searched on Google and did not find what I need. Does anyone have sample code to support sessions using lambda? or any resources. Many thanks!
source
share