VintaSoft Twain .NET SDK 15.1: Documentation for Web developer
Vintasoft.Twain Namespace / WebTwainDeviceManagerInitSettingsJS type / set_AllowableSessionInactivityTime Property
Syntax Exceptions BrowserCompatibility SeeAlso
In This Topic
    set_AllowableSessionInactivityTime Method
    In This Topic
    Sets an interval, in milliseconds, during which the device manager must refresh its session.
    Syntax
    var instance = new Vintasoft.Twain.WebTwainDeviceManagerInitSettingsJS();
    
    var returnValue; // Type: any
    
    // Parameters
    var value; // Type: number
    
    returnValue = instance.set_AllowableSessionInactivityTime(value);
    
    
    function set_AllowableSessionInactivityTime(
    value
    An interval, in milliseconds, during which the device manager must refresh its session. Default value is 60000 milliseconds (1 minute). Minimum value is 100, maximum value is 3600000.
    : number
    ) : any;

    Parameters

    value
    An interval, in milliseconds, during which the device manager must refresh its session. Default value is 60000 milliseconds (1 minute). Minimum value is 100, maximum value is 3600000.
    Exceptions
    ExceptionDescription
    Thrown if argument has wrong type.
    Thrown if argument is out of range.
    Browser Compatibility
    9
    See Also