Expand|Select|Wrap|Line Numbers
- If (Request.ServerVariables("HTTPS") = "off") Then
- srvname = Request.ServerVariables("SERVER_NAME")
- scrname = Request.ServerVariables("SCRIPT_NAME")
- Response.Redirect("https://" & srvname & scrname)
- End If
Honestly, this code should work and it has been working until recently. Unfortunately my sysadmin believes it is faulty code and told me to rewrite it, claiming that his server could "have no faults."
Anyone have an idea or should this code work? btw it is being run on IIS 6