Turnkey Client Timeout

Background

For running applications the TurnKey server keeps an active memory space for each active client. As long as that client is active and has a connection, resources are held in memory of the server. If you want your application to automatically move to a MVC page that doesn't require any server resources, use the Timeout features.

How to configure

By default no timeout is active. The timeout setting is then -1

You can configure the timeout for the whole server or for individual pagers, with the individual page setting taking precendence.

For the whole server, i.e. all pages, add a setting to TurnkeySettings.xml like this

<TurnkeyTimeoutMinutes>1</TurnkeyTimeoutMinutes> 

For a specific page you set the tagged value TurnkeyTimeoutMinutes on the viewmodel.

Timeout page

There is a built in simple Timedout page that will be used by default.

If you want create a viewmodel with your own design, create a viewmodel called "Timedout" and it will be used when a user waits longer than the timeout setting.

Note! This page only works if it is a MVC page. See MVC

This page was edited 84 days ago on 02/10/2024. What links here