Hi Doug, Try this.. Your Browser: <cfif cgi.HTTP_USER_AGENT CONTAINS 'Mozilla/5.0'> NETSCAPE 6 <cfelseif cgi.HTTP_USER_AGENT CONTAINS 'Mozilla/4.76'> NETSCAPE 4.76 <cfelseif cgi.HTTP_USER_AGENT CONTAINS 'MSIE'> INTERNET EXPLORER <cfelse> WHO KNOWS!!! </cfif>
There is a cool custom tag out there as well.. Try here: http://www.digital-jungle.com/cfuseragent/ Mike -----Original Message----- From: Douglas L. Brown [mailto:[EMAIL PROTECTED]] Sent: Friday, November 23, 2001 12:46 PM To: CF-Talk Subject: Browser detection w/CF Does anyone know how I can check for browser type and version with CF? I really do not want to use JS to do this, although I am currently doing it that way. I would imagine a CGI car, but not sure how to do it. <CF_SIGNATURE NAME="Douglas L. Brown" EMAIL="[EMAIL PROTECTED]" PHONE="714.538.6611" WEB="http://www.carnivorepc.com"> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Get the mailserver that powers this list at http://www.coolfusion.com FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists