Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .Net Mobile > redirection to mobile pages

Reply
Thread Tools

redirection to mobile pages

 
 
Carlos
Guest
Posts: n/a
 
      04-19-2005
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"


 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
iPhone4,iPhone3,Ipad,Apple Mobile,Blackberry Mobile,HTC Mobile,LGMobile,Motorola Mobile,Nokia Mobile,Samsung Mobile chen selina C++ 0 07-13-2010 08:53 AM
cheap LG Mobile Motorola Mobile Nokia Mobile Philips MobileSony-ericsson Mobile yuwenwu004@gmail.com C++ 0 12-09-2007 09:02 PM
cheap LG Mobile Motorola Mobile Nokia Mobile Philips MobileSony-ericsson Mobile yuwenwu004@gmail.com C Programming 0 12-09-2007 09:02 PM
cheap LG Mobile Motorola Mobile Nokia Mobile Philips MobileSony-ericsson Mobile yuwenwu004@gmail.com Java 0 12-09-2007 09:02 PM
cheap LG Mobile Motorola Mobile Nokia Mobile Philips MobileSony-ericsson Mobile yuwenwu004@gmail.com C Programming 0 12-09-2007 09:02 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57