书籍教程网站地图
位置于:书籍教程
首页
>>
ASP教程
>>
XML相关
>>正文
我如何知道使用者所用的浏览器?
答 使用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
网站最新更新
我如何知道使用者所用的浏览器?相关
书籍教程站内推荐信息
书籍教程网站地图