日期:2014-05-16 浏览次数:20627 次
string host=context.Request.UrlReferrer!=null?context.Request.UrlReferrer.Host:"";
if(host=="www.ttc.com.my"
------解决方案--------------------
host=="www.stooges.com.my")
context.Response.AddHeader("Access-Control-Allow-Origin", "http://"+host);