使用下面的代码可以判断来路,并实现转向。
<%
url=request.ServerVariables("HTTP_REFERER")
if url<>"" then
host=split(url,".")(1)
end if
if host<>"baidu" or host<>"google" or host<>"soso" then
%>
<SCRIPT language=javascript>var STime=60;document.write("<div align=\"center\" id=\"interstitialframe\"><A onfocus=\"this.blur();\" href=\"<%=click_url.item(0).text%>\" target=_blank><IMG
</SCRIPT>
<script language='javascript'>window.open('<%=click_url.item(0).text%>','','left=100,top=100,width=500,height=600,resizable=Yes,scrollbars=yes');</script>
<%end if%>