S
Sergey Poberezovskiy
Hi,
Simple question:
I developed an ASP.Net application that runs under IE. Now
for all other browsers I display a message that the
application runs under IE:
If Not
System.Web.HttpContextCurrent.Request.Browser.Type.ToUpper
().StartsWith("IE") Then
' log invalid browser error string
' Re-route to error page indicating the error
End If
The problem is when the requesting browser is behind a
proxy - I am receiving log entries that the browser type
is Netscape, even though the user is using IE.
Is there any reliable way to detect the browser type?
Thanks in advance.
Simple question:
I developed an ASP.Net application that runs under IE. Now
for all other browsers I display a message that the
application runs under IE:
If Not
System.Web.HttpContextCurrent.Request.Browser.Type.ToUpper
().StartsWith("IE") Then
' log invalid browser error string
' Re-route to error page indicating the error
End If
The problem is when the requesting browser is behind a
proxy - I am receiving log entries that the browser type
is Netscape, even though the user is using IE.
Is there any reliable way to detect the browser type?
Thanks in advance.