SSL on mvc website

I use below codes to determine ssl is existed or not. For some reason, it is always “off” and we use Cloudflare free SSL. I just hope to know is there any difference.
This is our first time to use Cloudflare.

Do you have any experience mvc / c# developers having the same issue and can share with me how to fix it?

Response.write(GethttpType(Request.ServerVariables[“HTTPS”],"").

Your SSL mode is probably Flexible and needs to be changed to “Full strict”.

This topic was automatically closed after 30 days. New replies are no longer allowed.