网站首页/技术开发列表/内容

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

技术开发2022-09-10阅读

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

……

相关阅读