
Client-Side Browser Detection
When trying to determine what browser your web users are using, there are several schools of thought. Parse the User-Agent string, use conditional comments for IE, or look for features – the latter being the most popular, modern choice when using client-side JavaScript Frameworks.
Server-Side Browser Detection
On the server-side, you would grab the User-Agent string just as you would in JavaScript, and the code is pretty straight-forward. What we’ve also done here is detect a minimum browser version supported, so you could allow only users of Firefox versions 12+, or IE9 and above, for example. Read More »