Maximum Character Limit on the USerAgent String in IE 6

  • Thread starter Thread starter Ashwin
  • Start date Start date
A

Ashwin

Guest
Hi,



I am trying to access a web application which only supports IE version 5.01

and above. In order to perform this check we use USerAgent string to check

the IE version and then allow the users to access the application.



While testing we found out that on Windows XP IE 6.0 when the user agent is

beyong 256 character length, the rest of the useragent string is getting

truncated and it is only returning Mozilla/4.0 (compatible; MSIE 6.0;).

However this is not the case with IE 7.0 and IE 8.0.



Is this a known issue in IE 6.0 and do this have any workaroound?



Any pointers to this or help would be greatly appreciated.



Thanks & regards,

Ashwin
 
"Ashwin" wrote in message

news:A3ED2F3A-3A0F-4CB5-AEF0-29E5BEADD3C9@microsoft.com...

> Hi,

>

> I am trying to access a web application which only supports IE version

> 5.01

> and above. In order to perform this check we use USerAgent string to check

> the IE version and then allow the users to access the application.

>

> While testing we found out that on Windows XP IE 6.0 when the user agent

> is

> beyong 256 character length, the rest of the useragent string is getting

> truncated and it is only returning Mozilla/4.0 (compatible; MSIE 6.0;).

> However this is not the case with IE 7.0 and IE 8.0.

>

> Is this a known issue in IE 6.0 and do this have any workaroound?

>

> Any pointers to this or help would be greatly appreciated.

>

> Thanks & regards,

> Ashwin




Why do you need a workaround? If the string being sent to the web

application is "Mozilla/4.0 (compatible; MSIE 6.0;)" then surely that can be

used to determine that it's IE6, you don't need to know anything else do

you?



--

Dan
 
Back
Top