'if this request wasn't through HTTPS
if Request.ServerVariables("HTTPS") <> "on" then
'then redirect it back to here via HTTPS
Response.Redirect("[URL unfurl="true"]https://"[/URL] & request.serverVariables("SERVER_NAME") & request.serverVariables("SCRIPT_NAME"))
end if