在conn.asp中加入如下代码:
if request.querystring<>"" then '如果用GET提交参数
for each formname in request.querystring
if instr("'or'='or'",request.querystring(formname))<>0 then '如果提交的参数中有过滤的字符
response.redirect "你的转向地址"
end if
next
end if
if request.form<>"" then '如果用post提交参数
for each formname in request.form
if instr("'or'='or'",request.form(formname))<>0 then '如果提交的参数中有过滤的字符
response.redirect "你的转向地址"
end if
next
end if