Page 1 of 1
Home Page is timing out
Posted: Tue Aug 31, 2021 1:20 pm
by mwalter
I've developed a small application which displays a screen that we use for a home page. It's basically just a simple portal. This is an RPG driven Rich Display File. It seems to be timing out when there is no usage. Our old Home Page, which was an HTTP page, did not. Is there a way to keep this from timing out?
Re: Home Page is timing out
Posted: Tue Aug 31, 2021 1:31 pm
by Scott Klement
Rich Display files time out because there is an active job for each open display. Any error that prevented communication between the browser and server would therefore, cause that active job to remain active indefinitely.
For example, suppose you opened a Rich Display and then accidentally kicked out the power cord for your PC. The server will have a job servicing that session -- but there's no way for the PC to send a message telling it to close the sessions because it doesn't have power. So it will stay active "forever" (until the http server is shut down.)
The same is true of Genie sessions.
It does not matter whether the Rich Display or Genie session is launched as a home page, a regular Atrium tab, or just run by itself. In all cases, there will be a timeout value.
One possible solution is to use "keep alives" to prevent the timeout from occurring. You can learn how to configure keep alives here:
https://docs.profoundlogic.com/display/ ... e+Interval
Re: Home Page is timing out
Posted: Wed Sep 01, 2021 8:37 am
by mwalter
Thanks, Scott.