Dear Community,
How to configure in WebIQ an automatic return to a specific view (view 0 : home page) when user logout after timeout, or just logout ?
Dear Community,
How to configure in WebIQ an automatic return to a specific view (view 0 : home page) when user logout after timeout, or just logout ?
As this is metaphorically speaking "post-death", because the connection has been closed and the page reloaded, the easiest way (if it's about the browser, not the user) is to store the data in LocalStorage. That is when you change the view then always write that view number into LocalStorage and have a LocalScript at the top level of the HMI so that it's run whenever the HMI is initialized that reads from LocalStorage and sets the view accordingly.
If it's for the user you can store attributes for the user as well through the API. But I think usually LocalStorage is sufficient.