VBScript:
<%
If Request.ServerVariables("HTTPS") = "off" Then
Response.Redirect("https://" & Request.ServerVariables("HTTP_HOST") & Request.ServerVariables("URL"))
End If
%>
JScript:<%
if(Request.ServerVariables("HTTPS") == "off"){
Response.Redirect("https://" + Request.ServerVariables("HTTP_HOST") + Request.ServerVariables("URL"))
}
%>



No comments:
Post a Comment