Page 3 of 3

Re: Session variables

Posted: Thu Aug 08, 2019 7:55 am
by stevec
Had 2 more problems today where android session variables were wiped out.

Re: Session variables

Posted: Thu Aug 08, 2019 10:30 pm
by stevec
AGain this morning 2 more android devices lost session variables.

Re: Session variables

Posted: Fri Aug 09, 2019 9:07 am
by jasonzhou
Thanks for letting us know this. We will have a code review as soon as possible see if there's any possibility may cause this issue. We will also keep testing our program see if we can reproduce it. As long as we can reproduce this issue, it would be easy to fix it.

Re: Session variables

Posted: Mon Aug 12, 2019 10:26 am
by jasonzhou
The SharedStates variables are stored in device's internal storage that is private for app, only the following situations can clear it
1. Explicitly clear it from server
2. The device's internal storage is full, in this case, OS may clear it. (It rarely happen)
3. User deleted server profile or used a new one
4. User uninstalled the app
5. User cleared app data in device settings

Re: Session variables

Posted: Mon Aug 12, 2019 10:59 pm
by stevec
Happened 2 more times this weekend.

How would server clear them all at once (not individually)?

How does user clear them in settings (android)?

Re: Session variables

Posted: Fri Aug 16, 2019 9:22 am
by jasonzhou
Server can't clear them all.

In Android settings, under each app, there is a "Clear Data" button, which will clear saved data.

Re: Session variables

Posted: Wed Sep 11, 2019 5:26 am
by stevec
The android clear cache seems to be what is happening. There is a free app you can download too to clear the cache automatically at intervals which is the likely culprit.

Re: Session variables

Posted: Wed Sep 11, 2019 12:25 pm
by jasonzhou
That makes sense. Thank you.