if (pageRequest.Scheme == "http" && pageRequest.Host.ToString()!="localhost" && requestPath.Contains(".aspx")) { Response.Redirect("https://" + pageRequest.Host + pageRequest.PathAndQuery, true); }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)