ENFORCING SSL IN WEBPAGES
in production https is working for the login page. but after that few pages are not enforcing https..i.e by default they are https but my prob is to make them https even if the user tries to make it just 'http'...I dontknow how this is a problem, but i was asked to do so..ofcourse all this happens in production not in developement.
I even tried this one.
<%
If Request.ServerV ariables("SERVE R_PORT")=80 Then
Dim strSecureURL
strSecureURL = "https://"
strSecureURL = strSecureURL & Request.ServerV ariables("SERVE R_NAME")
strSecureURL = strSecureURL & Request.ServerV ariables("URL")
Response.Redire ct strSecureURL
End If
%>
but donno y even this doesnt help........... ......can anyone help me out with thsi...is there anyway to set it on IIS............ ..????
in production https is working for the login page. but after that few pages are not enforcing https..i.e by default they are https but my prob is to make them https even if the user tries to make it just 'http'...I dontknow how this is a problem, but i was asked to do so..ofcourse all this happens in production not in developement.
I even tried this one.
<%
If Request.ServerV ariables("SERVE R_PORT")=80 Then
Dim strSecureURL
strSecureURL = "https://"
strSecureURL = strSecureURL & Request.ServerV ariables("SERVE R_NAME")
strSecureURL = strSecureURL & Request.ServerV ariables("URL")
Response.Redire ct strSecureURL
End If
%>
but donno y even this doesnt help........... ......can anyone help me out with thsi...is there anyway to set it on IIS............ ..????