> I have just finished the development of a mobile site for our
> university. I have placed a redirect script on the home page and
> everything seems to be working. I was wondering if there is a more
> streamlined approach to detecting the different devices. Right now I am
> checking for specific brands. I can see this list expanding as more
> devices come on the market. Any thoughts.
>
> <cfif findNoCase('blackberry', CGI.HTTP_USER_AGENT)>
> <cflocation url="http://esu.mpill.me" addtoken="no">
> <cfelseif findNoCase('iphone', CGI.HTTP_USER_AGENT)>
> <cflocation url="http://esu.mpill.me" addtoken="no">
> <cfelseif findNoCase('droid', CGI.HTTP_USER_AGENT)>
> <cflocation url="http://esu.mpill.me" addtoken="no">
> <cfelseif CGI.HTTP_ACCEPT CONTAINS "text/vnd.wap.wml">
> <cflocation url="http://esu.mpill.me" addtoken="no">
> </cfif>Well, my first recommendation might have been to use mobile stylesheets instead of creating a separate site, but it's probably too late for that. My second recommendation might be to use the scripts here: http://detectmobilebrowser.com/ Click on the "Download Scripts" link in the middle of the page, then choose ColdFusion. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ http://training.figleaf.com/ Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on GSA Schedule, and provides the highest caliber vendor-authorized instruction at our training centers, online, or onsite. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:338113 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

