62,046
社区成员
发帖
与我相关
我的任务
分享
string strTemp = "";
if (HttpContext.Current.Request.ServerVariables["HTTP_SCHEME"]=="https"||(HttpContext.Current.Request.ServerVariables["HTTPS"])!="off")
{
strTemp = "https://";
}
else
{
strTemp = "http://";
}