Re: HTTP_USER_AGENT DE IE7
- From: C A Upsdell <""cupsdell\"@nospam@xxxxxxxxxxx">
- Date: Thu, 22 Nov 2007 14:05:15 -0500
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.
.
- Follow-Ups:
- Re: HTTP_USER_AGENT DE IE7
- From: Us
- Re: HTTP_USER_AGENT DE IE7
- References:
- HTTP_USER_AGENT DE IE7
- From: Us
- HTTP_USER_AGENT DE IE7
- Prev by Date: Web page problem
- Next by Date: Re: Lost menu option
- Previous by thread: Re: HTTP_USER_AGENT DE IE7
- Next by thread: Re: HTTP_USER_AGENT DE IE7
- Index(es):
Relevant Pages
|