server| Error | server
When we execute some programs, such as the recursion of the Forum, the ASP program often executes errors outside of the accident. This type of accidental occurrence is rare, but once it occurs, it causes the ASP code to produce countless HTML or consume a large amount of server resources, causing the server to be less efficient or even paralyzed. 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. For example, my forum system, where the recursion seems to be a bit of a mistake, is making mistakes sometimes.
-If you do not use the above method to confirm the security and stability of the code, you can only shorten the script time of the site, such as Server.ScriptTimeout set to 1, that is, the execution time is only 1 seconds. This will minimize the error duration of the code. Do not think that timeout can only be more than 20, in fact set to 20 or the following: