CORSSupport Property

 

Type: Integer

 

Returns an integer indicating the level of Cross-Origin Resource Sharing (CORS) supported by the browser, as follows:

 

0 = No support

1 = XDomainRequest support

2 = XHttpRequest support

 

 

Example of how to retrieve the CORSSupport property:

 

<% set bhObj = Server.CreateObject("cyScape.browserObj")

<html>The level of CORS supported by your browser is <% = bhObj.CORSSupport %></html>

 

See Also:

XMLHttpRequest Property