The following code ( we thought) would always redirect to https. We found that in the user typed in the URL and included the default.htm, it would not fire. because the code below was in the default document called default.asp
How do I change this and/or how do I put this code into default.htm which is really the start of the website.
bSSLOn = (Request.ServerVariables("
HTTPS") = "off")
if bSSLOn then
sURL = "https://sampleweb.com/virtualdir/default.htm
Response.Redirect (sURL )