I created a dashboard (version 2.4 / licensed) which is running on an IIS. There are UDAuthorizationPolicies as well. Everything works fine and I’m happy so far but there is one thing that bugs me and I hope there is a simple solution to it. When I haven’t used the dashboard for like 20-30 minutes and I start using it without refreshing the page (e.g. pressing F5, reopen the dashboard) error messages pop up in the lower right corner. pretty much every functionality is build on an SQL queries or on WMI actions. I get messages like:
‘you cannot call a method on a null-valued expression’
‘method invocation failed because [System.DBNull] …’
but the dashboard still works even though I’m getting these messages. When I press F5 and do the same action again, everything works fine without getting these error messages.
So, is there a way to keep the session alive or is it possible to query the timeout and popup a Toast message in order to get people refreshing their page? Any help is appreciated.