Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Recognizing the browser
Message
De
12/01/2015 13:29:44
 
 
À
Tous
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Titre:
Recognizing the browser
Versions des environnements
Environment:
VB 9.0
OS:
Windows 8.1
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Web
Divers
Thread ID:
01613449
Message ID:
01613449
Vues:
61
I had to adjust my code to recognize the browser like this:
        ' Based on the browser
        Select Case oBrowser.Browser

            ' Microsoft Internet Explorer
            ' Recent version of Internet Explorer returns InternetExplorer (11)
            Case "InternetExplorer", "IE"
At first, I had IE. That used to work for a few years. Then, I discovered the value returned was InternetExplorer. So, I adjusted for that. I assumed something got changed in the .NET Framework in the way this is now returned. But, actually, this is coming from the browser information and .NET Framework simply use that as is. So, I had to add IE back in there. Basically, it seems the longer word is returned from recent version of Internet Explorer only. Can someone confirm that?
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform