Detecting a Mobile Device in Coldfusion
Ray West over at CommunityMX posted an easy way in Coldfusion to detect if a visitor is using a mobile device using the following code:
<CFIF CGI.HTTP_ACCEPT CONTAINS "text/vnd.wap.wml">
<CFLOCATION URL="/wap/index.cfm">
</CFIF>
<CFLOCATION URL="/wap/index.cfm">
</CFIF>
I have yet to test it, so please let me know if it does work. I heard from a few that it does.

There are no comments for this entry.
[Add Comment]