I'm working on some code we got from a third party. Likely I cannot permanently modify the code, but I've been struggling with it for a whole day. The programmer littered tests for the browser object in several locations throughout her code-behind. She insists that the only browser that can use this be an older version of Internet Explorer. She used this test:
If Request.Browser.Browser <> "IE" Then ' do stuff End If As it turns out IE11 returns "InternetExplorer" for Request.Browser.Browser. What makes it harder is often (although not always) when a test for Request.Browser.Browser happens they'll include something like:
OrElse SpecialUser Is Nothing as a part of the conditional. And in all cases if the conditional is satisfied, it sends me to a page saying I'm not authorized and that's the end of it. I'm trying to solve an entirely unrelated pro ...

Go to the complete details ...