Do you have some timeout set? Does the server restart in between?
I feel so stupid right now, yes, the server does restart sometimes.
You can try web.persistSession, which will store the session in the database, but it doesn't work well with some database engines.
Does anybody know what could be going on? Previously I used to open the app and it showed the map, now almost every time I use it, I have to log in again. It happens on the mobile app & web. I have the latest version installed on AWS. Thanks in advance!