title: How do I set idle session timeout and max session timeout in nodejs + express app?
body: <p>I have a NodeJS + Express App and need to set idle session timeout and max session timeout on the app. Is there any setting or option that can be used to set these values? I looked at cookie.expires and cookie.maxAge. Are these used to set the idle timeout and session timeout, respectively. Can someone please help me with this?</p>
  <p>Thanks a ton in advance!</p>