I see from quite a lot of examples that a Current User context is stored either in Page Data
or App Data
. However, I am wondering if that is really needed, with the User API functions Get Current User Token
and Get current user
:
I know it does not do any harm in itself, but isnt it just another copy of the same data? Or am I missing something?
I would like to simplify my code if needed, so what I am looking at is to remove my use of a separate Current User
context in App Data
if Backendless always handles this behind the curtains anyway.
I know that if you tick of “reload”, you will do a database transaction, but if the rest is handled automatically, then I guess that is code saved…