Detect the user browser
Techniques
This category is aimed to help programmers in order to find and share helpfull techniques, source code and more stuff.
Techniques / ASP: Sniff the client browser
- Detect the client browser :
<% BrowserAgent = Request.ServerVariables("HTTP_USER_AGENT") If InStr(BrowserAgent,"MSIE") <> 0 Then Browser = "InternetExplorer" Else Browser = "Else" End If If Browser = "InternetExplorer" Then 'Put here your script for Internet Explorer Else 'And here your script for another Browser End If %>