Check secure or non secure connection

The Request Object defines a Property called IsSecureConnection, that will indicate whether http:// or https:// has been used.