RTSol
asked on
Mobile access of web site
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
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
ASKER
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
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
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thanks - I will try that out.
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.