Tip: Timers won't Timeout if eSpace is published in Debug Mode

Tip: Timers won't Timeout if eSpace is published in Debug Mode

  
Symptoms:

Timers run for a period of time much longer than the specified by the timer's Timeout property, in eSpaces that have been published in debug mode.

Cause:

The .NET Framework will not time out the asp.net request when an asp.net application is running in debug mode, so one can debug it with Visual Studio, without expiring the requests. This will imply that any OutSystems application that is published in debug mode, will also not time out the requests. Since the timer execution is also an asp.net request, this will also not be timed out. This behavior is a .NET Framework feature. For further information please refer to the msdn blog/article http://blogs.msdn.com/tess/archive/2006/04/13/575364.aspx

"When debug is set to true, asp.net requests will not time out. This is to allow you to debug with visual studio at your own pace without having to worry about the requests suddenly disappearing. "

Resolution:

For production environments, debug mode is not recommended. If this is causing any impact in any other environment, then do not publish the eSpace in debug mode.

Regards

Miguel João