Resources | JavaScript / ASP | Detect Browser

Detect Browser:


One of the goals of web development is to create sites that work properly on all browser types. Sometimes, however, certain effects that work in one browser (ex. IFRAMES) won't work in other browsers. In cases like this, you can run a script to determine what browser the Client is using, and then write out the code accordingly or redirect the user to a different page.

Here's how to do it in ASP:


If your web site is not run on an IIS Server, however, you need to do a browser check with Javascript code. Here is the code to do it in Javascript:


Related Links: Detect Plug-Ins | Detect Resolution

Comment on this article or ask us a question: click here !
armbrustconsulting.com