Specifies a domain from which documents must not be loaded by future Web function calls. Connections to the suppressed domains will not be established so that the requests are not performed. Whenever a connection is suppressed, an informational line is scripted to the VU output pane. To reset the list of suppressed domains call WebSetDomainSuppress with an empty string as parameter value.
WebAPI.bdh
WebSetDomainSuppress( in sDomains: string, in bExclude: boolean optional );
Parameter | Description |
---|---|
sDomains |
List of domains from which no file must be requested (for example, "addthis.com"). Allowed separators are blank spaces, commas, or semicolons. Specify an empty string to lift the restrictions. |
bExclude | Set to true to suppress all domains except those specified by the sDomains parameter. Default is false. |
dcltrans transaction TMain begin WebSetDomainSuppress("addthis.com"); WebPageUrl("http://mycompany.com/"); end TMain;