
<% From_url=Cstr(Request.ServerVariables("HTTP_REFERER")) Serv_url=Cstr(Request.ServerVariables("SERVER_NAME")) ifmid(From_url,8,len(Serv_url))<>Serv_urlthen response.write"非法链接!"'防止盗链 response.end endif ifRequest.Cookies("Logined")=""then response.redirect"/login.asp"...