Posted on: 2/10/2015 3:38:14 PM | Views : 464

i have a site that i would generally like to use https connections for, but one page where I do not wish to.
i understand you can force https by adding the following to the Global.asax
protected void Application_BeginRequest(Object sender, EventArgs e) { if (HttpContext.Current.Request.IsSecureConnection.Equals(false) && HttpContext.Current.Request.IsLocal.Equals(false)) { Response.Redirect("https://" + Request.ServerVariables["HTTP_HOST"] + HttpContext.Current.Request.RawUrl); } }
but is there a way to exclude a specific page from the requirement?

Go to the complete details ...