Page 1 of 1

Session Expiration

Posted: Wed Mar 27, 2019 3:30 am
by Ellen Schlechter

I currently have my session expiration set at 2 days. I do this in hopes that my app will work offline using API Express. I run into the problem where I need to at least be logged in and get data loaded then only after that does it work offline. My hope is that by having it set at 2 days, it shouldn't log me out and will allow me to use the app without a network connection.

However, I have found that the app has to completely relaunch after a few hours--therefore I have to sign in again. This sort of defeats the purpose of offline if I constantly have to sign in while online.

Is there any way that I can avoid the app completely having to reload after a few hours? Or at least getting the app to keep me signed in for the 2 days? Image


Session Expiration

Posted: Wed Mar 27, 2019 10:55 am
by Serhii Kulibaba

Hello Ellen,

Please look at this tutorial how to build the offline app with API Express: https://docs.appery.io/docs/apiexpres...

Session Expiration value means the time when your sessionToken is active, so you don't need to re-login or refresh the token to get access to Appery.io database