Ellen Schlechter
Posts: 0
Joined: Sun Aug 31, 2014 3:28 am

Session Expiration

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

Serhii Kulibaba
Posts: 150
Joined: Tue Aug 27, 2013 1:47 pm

Session Expiration

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

Return to “Issues”