Session variables

Please do not use to report errors- use your regional help desk.
Please mark posts as being for RPG or RDMLX (LANSA) developer.
To subscribe by email, display this forum, scroll to the end and select ‘Subscribe Forum’.
stevec
Posts: 132
Joined: Wed Aug 22, 2012 3:45 pm

Re: Session variables

Post by stevec » Wed Aug 07, 2019 4:55 pm

Had 2 more problems today where android session variables were wiped out.

stevec
Posts: 132
Joined: Wed Aug 22, 2012 3:45 pm

Re: Session variables

Post by stevec » Thu Aug 08, 2019 7:30 am

AGain this morning 2 more android devices lost session variables.

jasonzhou
Posts: 116
Joined: Tue Jan 10, 2017 11:26 pm

Re: Session variables

Post by jasonzhou » Thu Aug 08, 2019 6:07 pm

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.

jasonzhou
Posts: 116
Joined: Tue Jan 10, 2017 11:26 pm

Re: Session variables

Post by jasonzhou » Sun Aug 11, 2019 7:26 pm

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

stevec
Posts: 132
Joined: Wed Aug 22, 2012 3:45 pm

Re: Session variables

Post by stevec » Mon Aug 12, 2019 7:59 am

Happened 2 more times this weekend.

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

How does user clear them in settings (android)?

jasonzhou
Posts: 116
Joined: Tue Jan 10, 2017 11:26 pm

Re: Session variables

Post by jasonzhou » Thu Aug 15, 2019 6:22 pm

Server can't clear them all.

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

Post Reply