Nevron .NET Vision
Nevron.UI.WebForm.Controls Namespace / INAjaxControl Interface / AsyncAdaptiveRefreshIntervalFactor Property


In This Topic
    AsyncAdaptiveRefreshIntervalFactor Property (INAjaxControl)
    In This Topic
    Gets / sets a multiplier that is used to automatically slow down the auto-refresh rate of the control when an AJAX callback time-outs.
    Syntax
    'Declaration
     
    
    Property AsyncAdaptiveRefreshIntervalFactor As System.Single
    'Usage
     
    
    Dim instance As INAjaxControl
    Dim value As System.Single
     
    instance.AsyncAdaptiveRefreshIntervalFactor = value
     
    value = instance.AsyncAdaptiveRefreshIntervalFactor
    System.float AsyncAdaptiveRefreshIntervalFactor {get; set;}
    Remarks
    On a Windows machine, every time an AJAX http request is made to the server, at the client a new TCP connection is opened by the web-browser. By default the TCP connection has an extended life which can last for Ex. 5 minutes. If an AJAX control has a faster refresh rate than the rate at which TCP connections are disposed, within a limited period of time the operating system at the client can run out of TCP connection resources and refuse to create new TCP connections which results in AJAX http request time-outs. To prevent a constant "TCP-connection flood", Nevron AJAX components are designed to slow down the auto-refresh ratio by multiplying the auto-refresh interval by a flood-protection factor. In the practice, setting this property value to 1.5 (which is its default value) will slow down the refresh rate and resume normal operation of the control within a reasonable time after the first callback timeout is detected.
    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also