Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / Mobile / August 2006

Tip: Looking for answers? Try searching our database.

Detect Mobile, Handheld

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
jimmy.andersson@nbit.sigma.se - 29 Aug 2006 13:05 GMT
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!
jhagerty - 30 Aug 2006 01:17 GMT
Just check the server variable USER_AGENT

> Is there any easy way to detect if the device is a Mobile Phone,
> Handheld, Pda etc when the user enter a site?
[quoted text clipped - 4 lines]
>
> Would be very thankful if anyone can help me!
jimmy.andersson@nbit.sigma.se - 30 Aug 2006 13:48 GMT
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
>
[quoted text clipped - 6 lines]
> >
> > Would be very thankful if anyone can help me!

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.