Tricks | scripting | solving
I'm learning server knowledge recently. Sometimes it is troublesome to encounter an error that the ASP script runs overtime. Found relevant information, including some solutions.
IIS default script timeout is 90 seconds
In this case, if you are uploading software or sending data for more than 90 seconds, it will generate a process script timeout to discard your execution, protect the server's handling of large data memory and CPU consumption caused by panic or instability
Approach is
One: You can click Home directory in the properties of the IIS Web site and then configure the asp/cgi script timeout in the "Options" settings higher
Another method is simpler: Join directly in the head of the program
Server.ScriptTimeout = 500
\ ' 500 is the time you set the script to timeout, the second unit, the specific size of your own adjustment