web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Small and medium business | Business Central, N...
Suggested Answer

NAV18 Web Client Session closes after 4 min.

(1) ShareShare
ReportReport
Posted on by 6
Hello,
 
Credential Type - NavUserPassword
////////
 
 
navsettings.json
 
/SessionTimeout/:  /00:20:00/,
 
The problem is what if user switches between browser (Google Chrome/Brave) tabs and does not come back to NAV Web Client tab for 4 minutes it's session is closed and user is logged out and user has to type in user and password again.
Same goes with closed tab- if you close a browser tab and reopen it within 4 minutes your sessions is resumed. If you open it after 4 minutes you have to retype login information.
 
From my perspective at this point NAV Server setting Reconnect Period: should take the part but it's configured as 10minutes, but user gets disconnected after 4 minutes.
But it looks like this part is for NAV Client but not for NAV Web Client
Maybe that's the reason why NAV Web Client is not affected by Reconnect Period setting.
 
Does anyone know how can I increase the time for NAV Web Client sessions before they get's closed? My goal is to keep the alive for longer period. Users need to switch between browser tabs or even close the tab and come back to NAV web client and continue their work.
 
P.S. Idle timeout settings works as expected. NAV Web Client session is closed after 20 minutes if left open and idle
I have the same question (0)
  • Suggested answer
    YUN ZHU Profile Picture
    95,681 Super User 2025 Season 2 on at
  • Community member Profile Picture
    6 on at
    Thank you YUN ZHU for your reply.
     
    I have checked your links but it didn't fixed my problem.
    First link about NAV setup showed that I configured in correct way.
    The second link gave me some hints, I tried changing configurations on IIS but the session still closes after ~4minutes.
     
    When I close the browser with NAV web client how does NAV server interprets this session? Is it closed/lost connection?
    What's the best way to debug NAV web client sessions?
  • Suggested answer
    YUN ZHU Profile Picture
    95,681 Super User 2025 Season 2 on at
    Sorry, I'm not sure what the specific reason is.
    Can you find some useful information in Event Viewer?
    If the problem has not been solved, because NAV2018 is still under support, you can submit an SR to the Microsoft support team and let them help investigate the problem.
     
     
    Thanks
    ZHU
  • Community member Profile Picture
    6 on at
    No event viewer does not give anything on this session close.
    I monitored side by side IIS open sessions and NAV session debugger and session is closed on NAV server first.
    I monitored time by seconds and the session is closed exactly after 4 minutes.
    The NAV web client is open every 40 seconds "jquery-2.1.0.min.js:4" is called which I understand keeps connection alive between client and server
    Somehow I think this is hardcoded in NAV server configuration: If client type is Web Client and it's not replying for 4minutes close the connection.
     
    I think we have a NAV server license but don't have a support so i'm not sure if I can create a support case

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Small and medium business | Business Central, NAV, RMS

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 2,606

#2
YUN ZHU Profile Picture

YUN ZHU 931 Super User 2025 Season 2

#3
Jainam M. Kothari Profile Picture

Jainam M. Kothari 773 Super User 2025 Season 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans