browsernames for HttpBrowserCapabilities IsBrowser

K

kdfake

Gday

Im using the IsBrowser, however the only browsername that i am successful with is IE.

What is the browsername for firefox and for other browsers?

I cannot find a list anyway...


thanks
 
B

bruce barker \(sqlwork.com\)

depends on which version of .net

1.1 look at the browsercaps section in the machine.config
2.0 look in browsers folder in the .net config dir

in any case as it depends on the agent string (and browsers lie), it not
completely reliable.

-- bruce (sqlwork.com)
 
J

Juan T. Llibre

Request.Browser.Type should identify Firefox 100% of the time.

Please test any browser you have doubts on by visiting :
http://asp.net.do/test/browserDetect.aspx

with the browser you want to detect.

If any browser is not detected correctly I'll be glad to
modify my script so it *is* detected and share the info with you.
 
K

kdfake

Yeah im using .net 2.

THanks for the list. THough the problem is i cannot detect specifically firefox, because IE also says it is a mozilla
browser.

So i guess i will be forced to use Request.Browser.Browser
?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,764
Messages
2,569,567
Members
45,041
Latest member
RomeoFarnh

Latest Threads

Top