This documentation is for the old version. Go to the latest Upload Suite docs

ImageUploader.TimeOut Property

Supported in: ActiveX , Java

Timeout of the HTTP connection.

Syntax

Initialize

JavaScript
<script type="text/javascript" src="iuembed.js">  </script>
<script type="text/javascript">
var iu = new ImageUploaderWriter("ImageUploaderID", 610, 500);
//...other params...
iu.addParam("TimeOut", "0");
//...other params...
iu.writeHtml();
</script>

Get/Set Value in Runtime

JavaScript
getImageUploader("ImageUploaderID").setTimeOut(value);
value = getImageUploader("ImageUploaderID").getTimeOut();

Property Value

A non-negative integer value that specifies HTTP timeout (in milliseconds). If 0, timeout is infinite (i.e. disabled).

Default value is "0" (timeout is infinite).

Remarks

When timeout expires, the Image Uploader assumes that the connection has been lost and terminates the upload process.

See Also

Manual

Reference