Due to the way our hosting system handles SSL connections (dedicated SSL hardware), the underlying IIS server will not detect a secure connection through the normal means (Request.ServerVarialbles or Request.IsSecureConnection).
To determine if a connection is secure, test for the following server variable in the Request object:
Request.ServerVariables(“HTTP_CLUSTER_HTTPS”)
If this is present, the connection is secure. If it is not present, it will not be present in the collection. The value of this if present will be "on".