Skip to main content
Inspiring
June 13, 2012
Question

Recognizing (and redirecting) mobile users

  • June 13, 2012
  • 2 replies
  • 709 views

Has anyone come up with code that can reliably detect a browser session from a mobile device and redirect the request to a site's mobile subdomain?  I know it's a matter of examining the browser type in the CGI vars, but from what I can tell it seems to be hit-or-miss in terms of reliably detecting the various possibilities.  Any pointers?

thanks,

-reed

    This topic has been closed for replies.

    2 replies

    WolfShade
    Legend
    August 17, 2012

    See if this might help:  http://detectmobilebrowsers.com/

    ^_^

    p_sim
    Participating Frequently
    August 17, 2012

    You might need to google for "mobile browser detection". In whatever language, get the pattern/regex and apply it to ColdFusion. I did mine from PHP script and converted to CFC.