On Fri, 19 Oct 2007 04:14:51 +1000, "Ian Semmel"
<an****@rocketcomp.com.auwrote:
>
So how do you tell that a request has come from a mobile phone ?
A user can type any value into a url. They don't know if the website has
been setup for Mobile Web Forms.
Targeting mobile devices is something that you have to design into
your solution from the very beginning.
Due to the constraints of screen size, supported controls, and so on,
a common strategy is to build two completely different sites so for
instance your main site would be
www.mysite.com and then you have a
sub domain for your mobile devices ,
www.wap.mysite.com
For the
www.wap.mysite.com you would then build an asp.net site
entirely with mobile web forms. However you can share much of the data
access logic.
If you wanted to you could force a mobile user who inadvertently
wanders to the main site back to the WAP, perhaps in the authenticate
request method.
What you do is query the Request.IsMobileDevice property and redirect
as appropriate
--
http://bytes.thinkersroom.com