首页/网站教程/内容

我如何知道运用者所用的浏览器?

网站教程2024-07-17 阅读()

答 使用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
(出处:热点网络)

……

相关阅读