server| error When we execute some programs, such as the recursion of a forum, an ASP program often executes an error outside of the accident. The incidence of such accidents is very low,
But when it does, it causes an ASP code to generate countless HTML or a large amount of server resources, resulting in reduced server efficiency
to paralysis. This type of error is generally a dead loop until the script finishes execution to end this nightmare error.
Solutions to such problems include:
-Don't use unstable code, but it's hard to determine how much code is stable. Like my forum system, which uses the
Recursion does not seem to have the slightest error, but at times it makes an error happen.
-If you can't use the above method to make sure that the code is secure and stable, you can only shorten the execution time of the site's script, such as
The server.scripttimeout is set to 1, that is, the execution time is only 1 seconds. This will minimize the error duration of the code. Don't think
Timeout can only be more than 20, in fact, set to 20 or the following line: