How to: Detect Pocket Internet Explorer from Web Servers
When Pocket Internet Explorer sends a request to your HTTP server, the following specific information is included in the HTTP request header:
UA-pixels: {i.e. 240x320}
UA-color: {mono2 | mono4 | color8 | color16 | color24 | color32}
UA-OS: {Windows CE (POCKET PC) - Version 3.0}
UA-CPU = {i.e. ARM SA1110}
UA-Voice = {TRUE | FALSE}
Note The UA-Voice variable indicates whether the Windows Mobile-based device is equipped for voice telephony. It is not available on devices running software versions earlier than the Windows Mobile 2002 release.
If you are using Internet Information Server (IIS) 4.0 or later, the BROWSCAP.INI file in the \WINDOWS\system32\inetsrv directory contains descriptions of all known browsers at the time your version of Windows or your latest service pack was released. You can download the latest version of BROWSCAP.INI from cyScape.
If your version of BROWSCAP.INI doesn't include the information for Pocket Internet Explorer, you can edit it by adding the sections shown in the following table for each version.
Microsoft Pocket Internet Explorer 2000 | Microsoft Pocket Internet Explorer 2002 | Microsoft Pocket Internet Explorer 2003 |
---|---|---|
|
|
|
As shown in the following table, the user agent string sent by each version is slightly different, allowing the server to determine which version is sending the request.
Note The user agent string for Pocket Internet Explorer 2002 and later includes PPC.
Pocket Internet Explorer 2000 | Pocket Internet Explorer 2002 | Pocket Internet Explorer 2003 |
---|---|---|
|
|
|
See Also
Mobile Web Site Design Overview
Pocket Internet Explorer Overview
Send feedback on this topic to the authors.
© 2005 Microsoft Corporation. All rights reserved.