Tuesday 15 August 2017

Newbie - Secret, resave, saveUninitialized in Sessions.

I hope someone can dumb this down for me or ELI5 this to me.I have this code, which is used for sessions:app.use(session({ secret: 'matt', resave: true, saveUninitialized: false })); My question is, what do these attributes mean?I've tried understanding from this post, but I'm still completely loss/http://ift.tt/2w6GL0c

Submitted August 15, 2017 at 02:36PM by badboyzpwns

No comments:

Post a Comment