Broadband Property

 

Type: Boolean

 

Returns True if the visitor is using a broadband connection such as DSL, cable, T1 or other high-speed internet connectivity. Otherwise it returns False.

 

Tip: See the section on Detecting Connection Speeds and Dial-up Users for a detailed discussion of the advantages and disadvantages of using this property compared to the ConnectionSpeed and ConnectionType properties.

 

Special notes for this property:

 

Example 1:

In this example we check to see if the visitor is on a broadband connection. If so we redirect them to a different page on the site:

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

bhObj.SetExtProperties "Broadband"

bhObj.GetExtPropertiesEx

if bhObj.Broadband = False then

response.redirect "/slowpage.asp"

end if

%>

<html> Page for broadband users goes here </html>

 

Example 2:

In this example we check to see if the visitor is on a broadband connection. If so we dynamically send Flash content to the browser, otherwise we send a static image.

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

bhObj.SetExtProperties "Broadband"

bhObj.GetExtPropertiesEx

%>

<html>

<% if bhObj.Broadband = True then %>

<!-- send Flash -->

<OBJECT classid="clsid … Flash object goes here … ">

<% else %>

<!-- send static image -->

<img src="alternativeImageInsteadOfFlash.jpg">

<% end if %>

</html>

 

See Also:

Detecting Connection Speeds and Dial-up Users

ConnectionSpeed Property

ConnectionType Property

EstDownloadTimeDesc Method

EstDownloadTimeSec Method