Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics NAV (Archived)

Trying to change Idle Client Timeout - Not working as required

Posted on by Microsoft Employee

Hi There,

I am trying to set Idle Client Timeout, I have tried it through below options but it is not working as require, may I please get  a fix solution for this.

I want my client should get disconnect in 02:00:00 Hrs for that I have kept 72600 Sec time there in the configuration file.

1. I have changed through "ClientServicesKeepAliveInterval" option but it is not responding

2. Then tried changing it through the NavOne Client in "Idle Client Timout" option but no luck.

I have seen this from MS site itself but it's not working for me.

Any help would be appreciated.

Let me know if more details required on this...!!!

*This post is locked for comments

  • Suggested answer
    4BzSoftware Profile Picture
    4BzSoftware 6,071 on at
    RE: Trying to change Idle Client Timeout - Not working as required

    Hope everyone interested in our new tool!

    mibuso.com/.../idle-session-management

  • Suggested answer
    mbr Profile Picture
    mbr 5,124 on at
    RE: Trying to change Idle Client Timeout - Not working as required

    Hi All,

    I have figured it out. With the CU that Nav did (in my case CU37) for Nav 2013, the Client Idle Timeout will not work for any settings higher than 2 minutes.  One would need to ensure that the   ClientServicesKeepAliveInterval key in the ClientUserSettings.config is also set up to be at least 1 min higher than the Client Idle Timeout.  If this key is not present in the ClientUserSettings.config, users will stay logged on regardless of the Client Idle Timeout Settings (if set up as higher than 2 minutes).

    So all you have to do is add below key in the ClientUserSettings.config.  Below is setup

    <add key="ClientServicesKeepAliveInterval" value="660" />

    whereby Client Idle Timeout = 00:10:00 (for 10 min).

    That should do it!

  • Suggested answer
    mbr Profile Picture
    mbr 5,124 on at
    RE: Trying to change Idle Client Timeout - Not working as required

    Hi All,

    I have figured it out. With the CU that Nav did (in my case CU37) for Nav 2013, the Client Idle Timeout will not work for any settings higher than 2 minutes.  One would need to ensure that the   ClientServicesKeepAliveInterval key in the ClientUserSettings.config is also set up to be at least 1 min higher than the Client Idle Timeout.  If this key is not present in the ClientUserSettings.config, users will stay logged on regardless of the Client Idle Timeout Settings (if set up as higher than 2 minutes).

    So all you have to do is add below key in the ClientUserSettings.config.  Below is setup

     <add key="ClientServicesKeepAliveInterval" value="660" />

    whereby Client Idle Timeout = 00:10:00 (for 10 min).

    That should do it!

  • mbr Profile Picture
    mbr 5,124 on at
    RE: Trying to change Idle Client Timeout - Not working as required

    HI Suresh,

    I am running into the same problem.  So far it's working when I set Client Idle timeout to 4 mins or below.  But I want to at least specify 30 minutes.  We have Nav 2013 CU 37.  Any thoughts?

  • Suggested answer
    Suresh Kulla Profile Picture
    Suresh Kulla 43,745 on at
    RE: Trying to change Idle Client Timeout - Not working as required

    Do you want to disconnect a client if he is idle for 2 hours  ? why do you want to disconnect a session which is active and for more than 2 hours ?

    If you are looking to disconnect if the client/session is idle then use the IdleClientTimeOut property

    www.metaphorix.co.uk/idle-client-timeout-nav-2013-r2-nav-2015-nav-2016

  • Suggested answer
    Alexander Ermakov Profile Picture
    Alexander Ermakov 28,094 on at
    RE: Trying to change Idle Client Timeout - Not working as required

    I do not get clearly what is your target. Do you want to cut your users:

    - after certain period of inactivity

    - or do you want to cut users always at 02:00 a.m. regardless they are active or not

    - or do you want to check if the user is inactive at 02:00 a.m. and cut if he is inactive

    - or do you want to check at 02:00 a.m. that user has been inactive for certain period and cut him if so?

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Trying to change Idle Client Timeout - Not working as required

    Please help

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,280 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,235 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans