WE have Dynatrace logged into a monitoring PC that displays a dashboard 24/7 on a wall. We have had no issues with time outs. You could also see about using a chrome extension that will login Every day ans setup a daily system reboot on your monitoring PC. But like I said, we have never had an issue with session time out.
you can use REST API: