
C#
C# Detect HTTPS in a load balanced environment
Detecting HTTPS in your asp.net c# web app is fairly straight forward in a normal environment with a single server solution, as you can see from the below example: if (HttpContext.Current.Request.IsSecureConnection) { Response.Write(“Using HTTPS”); } […]