Asp Forum
Home
|
Login
|
Register
|
Search
Forums
>
microsoft.public.dotnet.framework.aspnet.mobile
Detect Mobile, Handheld
jimmy.andersson
8/29/2006 12:06:00 PM
Is there any easy way to detect if the device is a Mobile Phone,
Handheld, Pda etc when the user enter a site?
For example, if the user hav a Mobile Phone I want to redirect the user
to
http://mobi...
but if the user have computer i want them to
stay on the adress
http://w...
Would be very thankful if anyone can help me!
2 Answers
jhagerty
8/30/2006 12:18:00 AM
0
Just check the server variable USER_AGENT
<jimmy.andersson@nbit.sigma.se> wrote in message
news:1156853130.833096.193470@b28g2000cwb.googlegroups.com...
> Is there any easy way to detect if the device is a Mobile Phone,
> Handheld, Pda etc when the user enter a site?
>
> For example, if the user hav a Mobile Phone I want to redirect the user
> to
http://mobi...
but if the user have computer i want them to
> stay on the adress
http://w...
>
> Would be very thankful if anyone can help me!
>
jimmy.andersson
8/30/2006 12:49:00 PM
0
I have thought of that, but there is so many browsers, os etc, and it
is a hard job to keep that list updated.
Any other suggestions?
jhagerty skrev:
> Just check the server variable USER_AGENT
>
> <jimmy.andersson@nbit.sigma.se> wrote in message
> news:1156853130.833096.193470@b28g2000cwb.googlegroups.com...
> > Is there any easy way to detect if the device is a Mobile Phone,
> > Handheld, Pda etc when the user enter a site?
> >
> > For example, if the user hav a Mobile Phone I want to redirect the user
> > to
http://mobi...
but if the user have computer i want them to
> > stay on the adress
http://w...
> >
> > Would be very thankful if anyone can help me!
> >
Servizio di avviso nuovi messaggi
Ricevi direttamente nella tua mail i nuovi messaggi per
Detect Mobile, Handheld
Inserendo la tua e-mail nella casella sotto, riceverai un avviso tramite posta elettronica ogni volta che il motore di ricerca troverà un nuovo messaggio per te
Il servizio è completamente GRATUITO!
x
Login to ForumsZone
Login with Google
Login with E-Mail & Password