Ajax enabled page stops responding after kept idle for some time
-
My asp.net application is ajax enabled. After the page is loaded completely, if there is no user activity for sometime, the screen stops responding until i close the browser and open it again. In some of the screens, on Session timeout (i have tested it by keeping the screens idle for 20 minutes), the user is redirected to the login page. But on few screens, the redirect does not happen. The screen stands still and no buttons links on the page respond to any mouse or keyboard event. At this point, if i press the "Refresh" button on the browser address bar, then i get logged out of the application and redirected to the login page. On the browser Status bar (bottom left hand corner of the browser window) a javascript error message displayed as "Error on Page" instead of "Done". On click of it, following error messages can be seen in the javascript error message pop-up. Unexpected ajax response was received from the Server This may be caused by one of the following reasons: Server.Transfer Custom Http handler Incorrect loading of an "Ajaxified" user control Verify that you don't get a server side exception or any other undesired behavior, by setting the EnableAJAX property to false. not possible to add the screen shots, else wd have done. All the pages and user controls in my application follow the same ajax panel structure and loading.