分类: 系统运维
2010-04-17 23:07:40
asp源码如下:
<%if Request.ServerVariables("SERVER_NAME")=" " then
response.redirect "a/index.asp"
else%>
<%end if%>
<%if Request.ServerVariables("SERVER_NAME")=" " then
response.redirect "b/index.asp"
else%>
<%end if%>
<%if Request.ServerVariables("SERVER_NAME")=" " then
response.redirect "c/index.asp"
else%>
使用server.transfer (url) 替代redirect可以提高效率。