Forum Discussion
kc2kth_49679
Nimbostratus
Feb 24, 2009Identify Mobile Device Browsers
Has anyone done any work with identifying mobile devices/browsers and redirecting them? We are building a new mobile friendly version of our site and want to send all mobile devices to that new site. ...
kc2kth_49679
Nimbostratus
Mar 10, 2009So I'm back on this project. Good info - thanks. Quick question though, which would potentially perform better, a switch or match class? I was leaning toward the match class method, but noticed in the examples a switch was used that at least appears efficient.
So far the strategy worked up by myself and others here is to grab the common standard browsers and send them on their way first, using a class or switch here as well. Then handling the top n known mobiles and sending them to the mobile site via the switch/class. Finally log the user agent of remaining, unidentified clients and redirect them.
I'm still struggling with a good way to identify these browsers. I'm not sure I quite grasp what I'm looking for in the HTTP::Accept field.
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects
