Click to See Complete Forum and Search --> : Need help with accurate browser detection


javo
04-15-2003, 12:28 PM
Hello,

I am hoping someone here can offer some help.. I am trying to detect the version of Internet Explorer users are using. Based on what it returns I need it to pop up an alert box saying you need X patch.
I'm putting this on a W2K Terminal Server opening page. There is a patch for IE 5.01 SP2; 5.5 SP1; 5.5 SP2 and 6.0. The probalem I've found is that no matter what version it is (above 5.0) it all says it's 4.0. Is there a way to accurately get what I need?

Thanks,
Jason

khalidali63
04-15-2003, 01:08 PM
navigatot.appVersion returns this value

4.0 (compatible; MSIE 6.0; Windows NT 5.0)

I am using version 6 IE you can parse that part of the value appropriately I hope,as for SP detection,unless there is MS specific ActiveX control,I seriously don't think you can get that using javascript only

Cheers

Khalid

javo
04-15-2003, 01:17 PM
Yeah I've tried what you suggested and mine returns the followning

Microsoft Internet Explorer 4.0 (compatible; MSIE 6.0; Windows NT 5.1; Avant Browser [avantbrowser.com]; .NET CLR 1.0.3705)

Thats too much junk.. And whats the point of the 4.0? Did MS do that just to make it difficult on people?

Jason

FredLabrosse
04-15-2003, 01:41 PM
Yeah, i know it's hard to find... too bad :( :(