vb Redirect to HTTPS

If lcase(Request.ServerVariables("HTTPS")) <> "on" Then 
	Response.Redirect "https://" & Request.ServerVariables("SERVER_NAME") & Request.ServerVariables("SCRIPT_NAME")
	Response.End
End If
Use to redirect HTTP to HTTPS.

Updated: Saturday 2nd October 2010, 10:35am

There are 0 comments

Leave a comment of your own

Comments are currently closed.