This is the Scenario where the problem occurs:
In my APP the TABs appear according to the user’s access level; for example, you can have an administration TAB that appears only to users who have the “Admin” access level. All the TABs disappear if the user asks to remove his Account and all the data related to it (this happens when, in his user line, the “RemoveMe” field is filled in). Therefore it is obvious that in the conditions of visibility of all the TABs there is a control “Show tab when RemoveMe is empty”.
I created this type of scenario because I would like to make my APP GDPR compliant in some way; so that at some point I can see that a user has requested the removal of his data and consequently I can go and remove them all from the sheet.
But since it is a manual operation, somehow I have to make it clear to the user that he wants to remove himself, even if he logs in again, that his request is in progress (so the APP will no longer show anything except an initial screen like: “Ok we’re going to remove your data, give us time to do it …”)
But let’s get to the problem now.
It happens that if the user who requested the removal remains connected to the APP, after some time, the APP seems to lose its positioning in the USER row as if the user’s session data have been lost; consequently all the TABs become visible again because the RemoveMe parameter becomes Empty. In this case, if I update the browser page, the TABs return rightly invisible.
I want to specify that “RemoveMe” is a relationship with the “Removal Requests” table where all users who have requested to remove their data from the APP are listed.
I also specify that I found this kind of problem running the APP from the PC browser.
Am I doing something wrong in your opinion or is there really a potential problem related to the duration of the server-side session?
Thanks for those who will answer me about it.