asp.net - requireSSL="true" for subfolder -
Is it possible to determine the requirement of SSL = "true" for the admin part of the site alone?
You can do this easily for any page:
< Code> HttpContext.Current.Request.IsSecureConnection.Equals (false) then react. Redirection ("https: //" + request. White ("HTTP_HOST") + HttpContext.Current.Request.RawUrl) End if
Comments
Post a Comment