在ASP中可以用Request.ServerVariables("HTTP_USER_AGENT") 找到使用者目前的瀏覽器資訊 因此可以用下面的code來判斷使用者該的瀏覽器 myUA = Request.ServerVariables("HTTP_USER_AGENT") ua = lcase(myUA) if instr(ua,"msie")>0 then Broswer="IE" elseif instr(ua,"firefox")>0 then Broswer="firefox" elseif instr(ua,"chrome")>0 then Broswer="chrome" else Broswer="Other" end if