Solved

Mobile access of web site

Posted on 2011-03-15
4
292 Views
Last Modified: 2013-12-27
Hi,

I have a web site to which I would like to provide access from mobile phones. I need to detect if a mobile phone is accessing the site and then redirekt to a part of the site specially designed for that.

How can I detect if a mobile phone is accessing the site?

Is there a way to determine the identity of the mobile phone in order to automatically redirekt to a special page (including login)?

Best regards
RTSol
0
Comment
Question by:RTSol
  • 2
  • 2
4 Comments
 
LVL 25

Expert Comment

by:RobMobility
ID: 35136514
Hi,

Every browser sends its user agent and it is this that reports what type of browser (i.e. Internet Explorer, BlackBerry etc.)

Various code is available for detecting different mobile browsers - it depends on your development environment. Here are some examples:

http://detectmobilebrowsers.mobi/

http://www.russellbeattie.com/blog/mobile-browser-detection-in-php

http://forums.macrumors.com/showthread.php?t=205417

Hope this helps.

RobMobility.
0
 

Author Comment

by:RTSol
ID: 35136532
Hi,

Thanks for the reply - now I know thats its possible. However, I work in dotnet and php is realy not my strong suit. If you have something targeting C# in dotnet I would really be greatful.

Thanks!
RTSol
0
 
LVL 25

Accepted Solution

by:
RobMobility earned 500 total points
ID: 35136745
Hi,

Try this:

http://www.codeproject.com/KB/aspnet/mobiledetect.aspx

Regards,


RobMobility.
0
 

Author Closing Comment

by:RTSol
ID: 35136758
Thanks - I will try that out.
0

Featured Post

Control application downtime with dependency maps

Visualize the interdependencies between application components better with Applications Manager's automated application discovery and dependency mapping feature. Resolve performance issues faster by quickly isolating problematic components.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Get to know the ins and outs of building a web-based ERP system for your enterprise. Development timeline, technology, and costs outlined.
An enjoyable and seamless user experience can go a long way on an eCommerce site. While a cohesive layout and engaging copy play roles in creating a positive user experience, some sites neglect aspects that seem marginal but in actuality prove very …
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…
Viewers will learn how to connect to a wireless network using the network security key. They will also learn how to access the IP address and DNS server for connections that must be done manually. After setting up a router, find the network security…

929 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now