网站从http升级成https后台登陆提示:禁止从站点外部提交数据!解决方案:
在整个站点中搜索:IF Mid 或HTTP_REFERER 或 SERVER_NAME 找到的代码如下图(类似):
t0=Cstr(Request.ServerVariables("HTTP_REFERER"))
t1=Cstr(Request.ServerVariables("SERVER_NAME"))
IF Mid(t0,8,Len(t1))<>t1 Then Check_Post=True
将其中的:IF Mid(t0,8,Len(t1))<>t1 Then Check_Post=True 改为:IF Mid(t0,9,Len(t1))<>t1 Then Check_Post=True