Re: HTTP_USER_AGENT DE IE7



Us wrote:
Bonjour,

J'ai un script CGI quii a besoin de tester le navigateur pour utiliser un code particulier dans le cas d'IE6 (pas IE7).

Pour cela, je teste la chaine d'identification du navigateur via $ENV
{HTTP_USER_AGENT}.

A priori, IE6 doit donner une chaine contenant "MSIE 6.", tandis que IE7 doit présenter "MSIE 7."

Mon problème est que j'ai une plate-forme avec IE7 sous XP SP2 qui me donne une chaine avec "MSIE 6."

Comment est-ce possible ? Cette machine pourrait-elle produire une chaine "forgée" ou est-ce normal qu'IE7 donne "MSIE 6." dans certains cas ?

Sorry, I no longer write French well enough to reply in French.

There is an add-on for IE7 which makes it report an IE6 user agent string. This is useful when you have software which works with IE7 but which demands IE6. Such an add-on MIGHT be installed on the affected PCs, generating the problem you see.

Another possibility is that some Internet security products report the wrong user agent string. I think some Norton software can do this; perhaps there are others. Such a security product might be installed on the affected PCs.

Elsewhere you have asked how a Perl program can detect the true browser when a false user agent is being reported. I think that what you have to do is focus on what is producing the false user agent, and fix the problem there.
.



Relevant Pages

  • Re: ie7 refuses to open website - blank page
    ... of displaying the scrollbar IE7 hides all the content. ... support forum. ... IE6 Browser, ... "PA Bear" wrote: ...
    (microsoft.public.windows.inetexplorer.ie6.browser)
  • SOMEONE PLEASE HELP!
    ... This was the original post on the IE7 Discussion Board. ... When I click the Outlook Express icon on my computer to open it, ... Add/Remove section so that I could get back to IE6. ... my husband downloaded the IE7 Beta on my computer. ...
    (microsoft.public.windows.inetexplorer.ie6.browser)
  • Re: Internet Explorer security alert
    ... if anyone running IE7 cares to take a look around and pass ... problems, I'm most worried about the first two installation pages, ... I found that there were bits missing when viewed in IE6 and contacted ... Probably the best reason to ditch IE, and Outlook, is security. ...
    (uk.telecom.broadband)
  • Re: Internet Explorer
    ... I'm currently running IE6, but I first noticed this in IE7. ... "PA Bear" wrote: ... when scrolling in IE I can hear my CPU making a scratching ...
    (microsoft.public.windows.inetexplorer.ie6.browser)
  • Re: ie wont work when Norton Personal Firewall is enabled.
    ... I think we'd better make sure he's GOT a rule for MSIE 6.0 first! ... The OP sort of sounds like IE6 may have only recently been loaded on the ... |>All was fine until the other day when I loaded IE6 and found that I ... No electrons used in the production of this message were harmed or mistreated in any manner. ...
    (comp.security.firewalls)