davidbarrackphoto wrote:
Quote:
I have added a login on a home page but now need the home page to use SSL. Is
there a way to force the page to https:// so that the userid and password on
encrypted? I already have SSL setup and use SSL in other places on the site
but I can force the https in those cases but in this case users enter the site
directly to the home page. |
What server language do you have?
If you have ASP you can use this:
<%
If Request.ServerVariables("HTTPS") = "off" Then
Response.Redirect "https://" & Request.ServerVariables("HTTP_HOST") &
Request.ServerVariables("URL") & "?" &
Request.ServerVariables("QUERY_STRING")
End If
%>