How To: Detect browser capabilities in ASP.Net web pages

Detect browser capabilities in ASP.Net web pages

In this video tutorial, Chris Pels will show how to determine what capabilities a user's browser has when viewing pages in an ASP.NET web site. First, learn how to access an instance of the HttpBrowserCapabilities object from the ASP.NET Request object associated with the web page request. Next, see the different information available in the HttpBrowserCapabilities object such as the type of browser and whether the user's browser supports JavaScript and Cookies. Then see an example of how to user this information about the user's browser and determine if a crawler is accessing the web site so it can be redirected to a crawler specific web page.

Just updated your iPhone? You'll find new emoji, enhanced security, podcast transcripts, Apple Cash virtual numbers, and other useful features. There are even new additions hidden within Safari. Find out what's new and changed on your iPhone with the iOS 17.4 update.

Be the First to Comment

Share Your Thoughts

  • Hot
  • Latest