SSLEnabled Property

 

Type: Boolean

 

Returns True if the visitor’s browser has SSL enabled and the visitor’s connection is allowing traffic over HTTPS port 443. If either of these conditions is not met, SSLEnabled returns True.

 

You can use the SSLEnabled property to detect if visitors have disabled their SSL support in the browser (such as unchecking the "Use SSL 2.0 / 3.0" options in the IE Advanced Security settings). This helps you ensure that the user can communicate successfully over HTTPS connections, before they try accessing secure content.

 

Tip: As mentioned above, if SSLEnabled returns False it can be because the user has disabled SSL in the browser, the visitor’s firewall does not allow traffic over the HTTPS port, or a combination of both of these conditions. If you wish to tell these conditions apart, use the OpenPorts property to check to see if port 443 is open. If it is, and SSLEnabled still returns False, then you know it is because they have disabled SSL in the browser.

 

Note: You must call the GetExtPropertiesEx method before checking the value of this property. This property requires the Enterprise Edition of BrowserHawk.

 

Example:

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

bhObj.SetExtProperties "SSLEnabled"

bhObj.GetExtPropertiesEx

%>

<html> SSL is enabled in the browser, and browser allowing SSL connections?

<% = bhObj.SSLEnabled %>

</html>

 

Special notes for this property:

 

See Also:

ExtPropFWTimeout Property

ImagesEnabled Property

Firewall Property