Skip to main content

Notifications

Announcements

No record found.

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
  • NAV18 Web Client Session closes after 4 min.
    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
  • Suggested answer
    YUN ZHU Profile Picture
    YUN ZHU 76,095 Super User 2024 Season 2 on at
    NAV18 Web Client Session closes after 4 min.
    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
  • NAV18 Web Client Session closes after 4 min.
    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
    YUN ZHU 76,095 Super User 2024 Season 2 on at
    NAV18 Web Client Session closes after 4 min.

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

Congratulations 2024 Spotlight Honorees

Kudos to all of our 2024 community stars! 🎉

Meet the Top 10 leaders for December

Congratulations to our December super stars! 🥳

Start Your Super User Journey Pt 2

Join the ranks of our community heros! 🦹

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,540 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans