ASP server timeout Timeout processing

ASP server timeout Timeout processing


ASP server timeout Timeout processing

Server timeout settings affect produce roughly:

1. Server.ScriptTimeout

CommandTimeOut property 2. Connection object

3. Command object's property CommandTimeOut

4. IE browser settings

Server.ScriptTimeout

The default value is 90 seconds

To increase it, add that to your asp file as follows:

Server.ScriptTimeout = 999 'unit (sec)

Connection和Command CommandTimeOut

The default is 30 seconds

  To increase it, add that to your asp file as follows:

con.CommandTimeOut = 999 'unit (sec)

If set to zero, we will wait indefinitely, there is no timeout limit

IE also have timeouts

5 minutes get data from the server, timeout

Solution: (text refer to the Microsoft KB Q181050)

1. IE to above 4.01 sp1

2. In the registry HKEY_CURRENT_USERSoftwareMicrosoft

WindowsCurrentVersionInternet Settings added a DWORD type

ReceiveTimeout, such value is set to 8,9

3. restart computer

Original: Large column  ASP server timeout Timeout processing


Guess you like

Origin www.cnblogs.com/chinatrump/p/11490962.html