Search code examples
javascriptajaxmodel-view-controllertelerikuser-inactivity

Javascript disabled after a period of user inactivity


I have built an internal application for our company's users. There is no timeout after user inactivity nor do we want one. Users are complaining that after a certain amount of time (like 30 minutes) of inactivity, the web app starts acting strange if the start to use it again. Buttons don't work, combo boxes will not drop down, datepickers are broke. It seems very clear to me that the Javascript is getting disabled after period of user inactivity.

Has anybody come across this behavior and if so, how do I prevent it?

The web app is an ASP.NET MVC 3.0 app, using the Telerik MVC Extensions, which includes writing some client side Ajax. It is running on IIS 6.0 on Windows Server 2003 Standard Edition.


Solution

  • Wait a minute. I just had these users test this with my dev server. They don't have this problem at all. I found out what the difference was on my dev server. We were toying with requiring client certificates. We set the Client Certificates setting in IIS to "Accept Client Certificates". This caused a lot of weird client side behavior and it depended on brower, OS combinations. Setting this back to "Ignore client certificates", seems to have removed this problem entirely.