redirection to mobile pages


C

Carlos

Hi all,

I was able to redirect browser rendering
according to the browser capabilities in my test
environment. I did the testing using a pocket pc
that has pocket IE v4.0. However, it was not sufficient
to modify the config file as microsoft suggest
by using:
<httpRuntime
useFullyQualifiedRedirectUrl="true"
/> alone. I had to go to the machine.config file
and modify one of the entries that test the browser
capabilities that detrmine that the
isMobileDevice=true
is in reality enabled.. That is, I had t modify the
<case match="^[5-9]\." with="${version}"> TO
<case match="^[4-9]\." with="${version}"> for it
to work...

Can anybody in Mocrosoft explain why this happens?
it seems that the test for pocketIE is never taking place..
How can I make similar change in my web.config instead of the
machine.config?

Thanks!

Carlos


</filter>
</case>
<case match="^Mozilla[^(]*\(compatible; MSIE
(?'version'(?'major'\d+)(?'minor'\.\d+)(?'letters'\w*))(?'extra'.*)">

browser=IE
version=${version}
majorversion=${major}
minorversion=${minor}

<case match="^[4-9]\." with="${version}">
frames=true
tables=true
cookies=true
backgroundsounds=true
vbscript=true
javascript=true
javaapplets=true
activexcontrols=true
tagwriter=System.Web.UI.HtmlTextWriter
ecmascriptversion=1.2
msdomversion=${major}${minor}
w3cdomversion=1.0
css1=true
css2=true
xml=true
isMobileDevice="true"
 
Ad

Advertisements


Top