Session Values Deleting from Server But Not Login in NodeJS

Wappler Version : 4.4.5
Operating System : W10
Server Model: NodeJS

Expected behavior

When a user logs in and sets REMEMBER ME as true/1, user session should remain live in the DB.
Also, re-deployment should not clear out login status irrespective of remember me, if cookie is still valid.
All session variables should be retained as well.

Actual behavior

With one of the latest updates (I think 4.4.3), config.js had a change around session store:

store: { $type: 'memory', ttl: 86400000 }

With this, the behaviour is really weird now.
If I login without remember me, I get logged out everytime I re-deploy. Which is how NodeJS has been working since day 1.
But now, if I login with remember me = 1, on re-deployment, user still stays login. But, any session that might have been set using SET SESSION steps, are cleared out.

Community Page
Last updated: