Thanks Bruce,
it was kind of tricky to understand the browsecaps section in the
machine.config file. I believe that it just
there was a mistake in the IE version that start supporting
mobility. The range was from 5-9, when I changed from 4-9 it worked fine. I
would like to test with other browsers too.
Thanks again.
Carlos.
"bruce barker" <no***********@safeco.com> wrote in message
news:eB*************@TK2MSFTNGP12.phx.gbl...
look at the useragent string the pocket pc is posting. then in
machine.config, check that the <browserCaps> is correctly identifying the
agent string as mobile device.
-- bruce (sqlwork.com)
"Carlos" <ch*****@earthlink.net> wrote in message
news:%2****************@TK2MSFTNGP15.phx.gbl...
| Hi all,
|
| I was just trying to execute sample code to redirect the
| output to a mobile page from a Pocket PC but it did not work.
|
| I tried from the root aspx file (page_load event):
|
| if (Request.Browser["IsMobileDevice"] == "true" )
| Response.Redirect("indexm.htm");
| else
| Response.Redirect("indexd.htm");
|
| I also have
|
| <configuration>
| <system.web>
| <httpRuntime
| useFullyQualifiedRedirectUrl="true" />
| </system.web>
| </configuration>
|
| in the web.config file.
|
| The desktop page is always displayed. but the mobile is not from Pocket
PC | How can I trace it and determine the mobile device? Thanks,
|
| Carlos.
|
|