Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
error in variable configuration for express.js #28
I do not know where "config.sessionExpiration" is supposed to be coming from, because I see no where where it is set. Moreover, as far as I can tell, session expiration is not working. Try changing config/env/default.js maxAge to 5 seconds, and sessions still do not expire.
I'm pretty sure in express.js that you want to set the maxAge as:
As per a hint in this stackoverflow answer,
...kind of swamped today;
[image: Inline image 1]
[image: Inline image 2]
On Thu, Sep 29, 2016 at 10:58 AM, Francis Daigle email@example.com
No worries :)
Well, I think the simplest thing to do would be to change
I'll try and take care of this later today. Wouldn't want anyone tripping on this.
Thanks again for the catch!