ASP判断使用者用的浏览器-Request.ServerVariables
the Request object方法
<%
strBrowser=Request.ServerVariables(“HTTP_USER_AGENT”)
If Instr(strBrowser,”MSIE”) < > 0 Then
Response.redirect(“ForMSIEOnly.htm”)
Else
Response.redirect(“ForAll.htm”)
End If
%>
ASP判断使用者用的浏览器-Request.ServerVariables
the Request object方法
<%
strBrowser=Request.ServerVariables(“HTTP_USER_AGENT”)
If Instr(strBrowser,”MSIE”) < > 0 Then
Response.redirect(“ForMSIEOnly.htm”)
Else
Response.redirect(“ForAll.htm”)
End If
%>