The Server.SetScriptTimeout and Server.AddScriptTimeout methods can only be used to increase the script timeout. Probably the best solution is to keep the script timeout value to a low number (30 seconds?) and increase it dynamically in the script that produces the time-consumming report, using the methods above.
Sent by Susan Sprague on 07/26/2002 03:22:52 PM:
The What's New in Foxweb section of your online documentation says that the script timeout can be set dynamically. We have a 10 minute timeout set because of one very large report. We'd like to bump that default down for performance reasons, but to do so we need to reset the timeout for that script when it runs.
Can you tell me how to do that?