Hello,
I am trying to put some code on my webpage that will detect a mobile phone.
I have tried using this code with no success...
<CFIF CGI.HTTP_ACCEPT CONTAINS "text/vnd.wap.wml">
<CFLOCATION URL="/wap/index.cfm">
</CFIF>
When I use my palm treo and goto to my webpage it just blows right by this code. When it detects the mobile phone it should jump to the /wap/index.cfm page right??
I would like code that works both on Coldfusion and .net.
Can anyone help me??
Rich
Start Free Trial