2 years ago
#35096
::
Important note:
When you are reopening the application again with the query parameter for the session key, you need to implement a user-login again because on reloading the app, the old login is lost.
You have two options for that:
- Let the user login once again manually
- Perform the login automatically in the background.
For this option, you have to store the previous user token in the database as well (retrieve it with the client-side business object ‘ITIZ_Utilities – GetUserToken’.
Then, when loading the session data, you can trigger the login process with the following code snippet:
this.Permission._setAjaxHeader(<the user token>);
Let me know if you have any questions.