From: Ashwin on
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

From: PA Bear [MS MVP] on
If you must make identical posts to multiple newsgroups, please cross-post
one (1) message to all of them. Thank you.

Multiposting vs Crossposting:
http://www.blakjak.demon.co.uk/mul_crss.htm


Ashwin wrote:
> 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

From: Rob on
Ashwin <Ashwin(a)discussions.microsoft.com> wrote:
> 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?

What is your issue and what workaround do you need?
Your "only" agent string "Mozilla/4.0 (compatible; MSIE 6.0;)" does contain
all you need to know about the version number, doesn't it?
From: Ashwin on
Thanks Rob for the Reply.

But in our application. along with the check for IE version we also perform
a check whether the platform is Windows or not but since the useragent
doesnt return this detail our check fails and we are not able to access the
application.

And we can not remove the check for Windows. IS there any other workaround
for this.

"Rob" wrote:

> Ashwin <Ashwin(a)discussions.microsoft.com> wrote:
> > 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?
>
> What is your issue and what workaround do you need?
> Your "only" agent string "Mozilla/4.0 (compatible; MSIE 6.0;)" does contain
> all you need to know about the version number, doesn't it?
> .
>
From: Rob on
Ashwin <Ashwin(a)discussions.microsoft.com> wrote:
>
> Thanks Rob for the Reply.
>
> But in our application. along with the check for IE version we also perform
> a check whether the platform is Windows or not but since the useragent
> doesnt return this detail our check fails and we are not able to access the
> application.
>
> And we can not remove the check for Windows. IS there any other workaround
> for this.

What you are doing is generally considered to be a bad thing.
Everyone can put in the UA string whatever he/she likes.

You can change the application so it no longer performs this check, or
it allows the specific UA string that you receive.
 |  Next  |  Last
Pages: 1 2
Prev: Upgrade to IE8 Reasons for/against
Next: ToolBars