Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Internet Explorer 8 timeout too quick on page POSTs

We have an asp.net site running, which has been working fine for some time, but recently I have been experiencing some issues with IE8.

On posting some pages - mainly on our development server, although on staging too - we get an occasional "Internet Explore cannot display the webpage" error along with the button asking to diagnose connection problems. IE only seems to wait 10 seconds before timing out. I know that the page itself may take longer to load the first time (on dev and staging). So press F5 and everything then works fine.

Is there anything that should be done in the aspx page to tell IE to wait a bit longer?

I thought I had read that the default timeout supposed to be 90 seconds or something for browsers.

A bit more info:

It mostly happens on a POSTing a signup page, but that is just because I test that page and it starts the IIS App, makes the first connection to SQL and pre-caches some information. That first time the page can take 10-15 seconds to come back. IE8 times out after 10 seconds as it has had nothing back.

This happens on a dev W7x64 machine with 8GB RAM, as well as on a staging server WIN2008.

Having googled around a bit, some people are seeing the same problem, but no conclusive pointers to the problem or a solution.

It isn't a connection problem; everything works fine in Firefox, Chrome and even IE7; I have tried with add-ons disabled and resetting IE settings, still happens.

Ideas welcome.

like image 831
cdm9002 Avatar asked Apr 12 '10 21:04

cdm9002


People also ask

How do I stop websites from timing out on Internet Explorer?

To change the default time-out value for persistent HTTP connections in Internet Explorer, follow these steps: Click Start, click Run, type regedit, and then click OK. On the Edit menu, point to New, and then click DWORD Value. Type KeepAliveTimeout, and then press ENTER.

How do I increase session timeout in Internet Explorer?

Navigate to the HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings registry subkey. From the Edit menu, select New, DWORD Value. Enter the name KeepAliveTimeout, then press Enter. Double-click the new value, set it to the number of milliseconds in the new timeout, then click OK.


1 Answers

Try this out

<httpRuntime executionTimeout="15"/> under system.web in the web.config 
like image 121
AnandMohanAwasthi Avatar answered Sep 19 '22 14:09

AnandMohanAwasthi