NAV 2016

How To setup “Keep Alive Interval” setting NAV2016-NAV2017


Many posts in forums about this topic; some people report that Idle Client Timeout configured in NAV Administration is not working.
Example of scenario: “Users logs in to the Navision by windows client installed on their PC but after setting idle client timeout session for 3 minutes then also it does not log off after 30 minutes also.”
or
Automatically Idle Client Timeout – NAV2016 – doesn’t work!
http://forum.mibuso.com/discussion/66081/automatically-idle-client-timeout-nav2016-doesnt-work

History of ClientKeepAlive setting
Since the October 2015 cumulative updates, the Dynamics NAV Windows client timeout configuration was managed at the service level by setting the Idle Client Timeout setting.

“The October 2015 cumulative updates added a new setting: “ClientKeepAlive”.
This  setting is managed at the user level and located in the ClientUserSettings.config file.

The value of this setting is given in seconds and defines the interval between ‘pulse’ signals sent by the client to prevent the client from going idle in some scenarios, or for some users.

ClientKeepAlive: about this setting

  1. In the server configuration file, set Idle Client Timeout  to 00:10:00
  2. In the client configuration file, set ClientKeepAlive  to any value  larger than 600
    This value is in seconds, so 600 equals 10 minutes.

Microsoft, by popular demand, changed in Dynamics NAV 2016 Cumulative Update 8:
The ClientKeepAlive setting has been moved from the user level to the service level: “Keep Alive Interval “, and is no longer defined in number of seconds but as a time interval, just like the Idle Client Timeout setting.”

Keep Alive Interval : about this setting

So following our example above, to configure a timeout interval for the Dynamics NAV Windows client to 10 minutes, in Dynamics NAV 2016 Cumulative Update 8 and later, you must set the following:

  1. In the server configuration file, set Idle Client Timeout  to 00:10:00
  2. In the server configuration file, set Keep Alive Interval  to a value larger than 00:10:00

PS: If you are running on a NAV 2016 build earlier then CU 8, your clientkeepalive settings will still be located Client side, in ClientUserSettings.config

Web Client
“To configure the timeout for the Dynamics NAV Web client, it is sufficient to configure the SessionTimeout setting in the web.config file to the relevant interval – in our example it’s 00:10:00.”

PS: Check your NAV Release and build for correct configuration!

Sources:
Configuring Client Timeout
https://blogs.msdn.microsoft.com/nav/2016/06/24/configuring-client-timeout/

Understanding Session Timeouts NAV 2016-NAV 2017
https://msdn.microsoft.com/en-us/library/dn789725(v=nav.90)

Annunci

Rispondi

Inserisci i tuoi dati qui sotto o clicca su un'icona per effettuare l'accesso:

Logo WordPress.com

Stai commentando usando il tuo account WordPress.com. Chiudi sessione / Modifica )

Foto Twitter

Stai commentando usando il tuo account Twitter. Chiudi sessione / Modifica )

Foto di Facebook

Stai commentando usando il tuo account Facebook. Chiudi sessione / Modifica )

Google+ photo

Stai commentando usando il tuo account Google+. Chiudi sessione / Modifica )

Connessione a %s...