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?
Thanks a ton in advance!