locked
Browswer Version Check Issue RRS feed

  • Question

  • In my webapp I have a Static class with a static variable that preloads these 3 hard coded browsers and versions and checks if System.Web.HttpContext.Current.Request.Browser is in one of these 3 browers/versions. If incoming browser is not one of these 3 or later versions, we are routing to an Unsupported browser webpage. Issue is that we are seeing inconsistent behavior and intermittently user is routed to Unsupported browser page even when using one of these supported browsers & versions. Issue is not reproduceable and is intermittent.

    InternetExplorer11

    FIREFOX63

    CHROME67

    Can someone help how to troubleshoot this issue.

    Thanks,

    Kamshare


    • Edited by Kamshare123 Monday, September 16, 2019 5:24 PM
    • Moved by CoolDadTx Tuesday, September 17, 2019 2:12 PM ASP.NET related
    Monday, September 16, 2019 5:23 PM

All replies

  • Are you doing any of these?

    https://stackoverflow.com/questions/2221722/browser-detection/2221789


    Please remember to mark the replies as answers if they help and unmarked them if they provide no help, this will help others who are looking for solutions to the same or similar problem. Contact via my Twitter (Karen Payne) or Facebook (Karen Payne) via my MSDN profile but will not answer coding question on either.

    NuGet BaseConnectionLibrary for database connections.

    StackOverFlow
    profile for Karen Payne on Stack Exchange

    Monday, September 16, 2019 10:17 PM
  • Please post questions related to web development in the ASP.NET forums.

    Michael Taylor http://www.michaeltaylorp3.net

    Tuesday, September 17, 2019 2:12 PM