Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .Net Mobile > Detect Mobile, Handheld

Reply
Thread Tools

Detect Mobile, Handheld

 
 
jimmy.andersson@nbit.sigma.se
Guest
Posts: n/a
 
      08-29-2006
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://mobile.xxx.com but if the user have computer i want them to
stay on the adress http://www.xxx.com

Would be very thankful if anyone can help me!

 
Reply With Quote
 
 
 
 
jhagerty
Guest
Posts: n/a
 
      08-30-2006
Just check the server variable USER_AGENT

<> wrote in message
news: oups.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://mobile.xxx.com but if the user have computer i want them to
> stay on the adress http://www.xxx.com
>
> Would be very thankful if anyone can help me!
>



 
Reply With Quote
 
 
 
 
jimmy.andersson@nbit.sigma.se
Guest
Posts: n/a
 
      08-30-2006
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
>
> <> wrote in message
> news: oups.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://mobile.xxx.com but if the user have computer i want them to
> > stay on the adress http://www.xxx.com
> >
> > Would be very thankful if anyone can help me!
> >


 
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
palm handheld wont browse internet =?Utf-8?B?am9zaHVhMTAxMw==?= Wireless Networking 2 07-11-2006 02:08 AM
Validating a working handheld barcode scanner mickyblu ASP .Net 0 07-06-2006 01:25 AM
Installing a Java App on a handheld Neil Benn Java 0 09-07-2004 01:02 PM
Any one do a mini-few-sec digital handheld videocam for re-attack after violent road rage attack? dorothy.bradbury Digital Photography 15 07-20-2003 11:58 PM
Handheld Portable Scanner CW Digital Photography 1 07-20-2003 12:42 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