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”],"").