RE: Detecting a mac
Try something along these lines: cfif http_user_agent contains "MSIE 4" cfset browser = "IE4" cfelseif http_user_agent contains "MSIE 5" or http_user_agent contains "cold fusion" cfset browser = "IE5" cfelseif http_user_agent contains "Mozilla" and http_user_agent contains "ProxiNet" cfset browser = "Palm" cfelse cfset browser = "Palm" /cfif cfif http_user_agent contains 'mac' cfset client = "mac" cfelse cfset client = "pc" /cfif -Original Message- From: Chad Gray [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 06, 2001 1:13 PM To: CF-Talk Subject: OT: Detecting a mac Anyone know of a way to detect a Mac with IE 5 when they hit your web page? Thanks, Chad ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: Detecting a mac
I use: cfif http_user_agent contains "mac" I'm interested to see if someone has anything clever. Lon Lentz Applications Developer CyberEntomologist - Alvion Technologies DataWarehousing and List Sales - Market Your Lists on the Net! [EMAIL PROTECTED] 941-574-8600 Ext. 210 -Original Message- From: Chad Gray [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 06, 2001 1:13 PM To: CF-Talk Subject: OT: Detecting a mac Anyone know of a way to detect a Mac with IE 5 when they hit your web page? Thanks, Chad ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: Detecting a mac
Try this: cfif cgi.http_user_agent CONTAINS "mac" AND cgi.http_user_agent CONTAINS "msie 5.5" cf_dosomething /cfif * Holger Lockertsen, Solutions Developer * Pixelduck AS - Nedre Slottsgate 5, N-0157 OSLO, Noreg/Norway * 23 31 03 04 / 91 83 20 51 * [EMAIL PROTECTED] * http://www.pixelduck.com/ -Original Message- From: Chad Gray [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 06, 2001 7:13 PM To: CF-Talk Subject: OT: Detecting a mac Anyone know of a way to detect a Mac with IE 5 when they hit your web page? Thanks, Chad ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: Detecting a mac
this is as clever as I've needed: cfif (FindNoCase('Mac', '#CGI.HTTP_USER_AGENT#')) "Lon Lentz" [EMAIL PROTECTED] on 02/06/2001 02:19:56 PM Please respond to [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] cc: Subject: RE: Detecting a mac I use: cfif http_user_agent contains "mac" I'm interested to see if someone has anything clever. Lon Lentz Applications Developer CyberEntomologist - Alvion Technologies DataWarehousing and List Sales - Market Your Lists on the Net! [EMAIL PROTECTED] 941-574-8600 Ext. 210 -Original Message- From: Chad Gray [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 06, 2001 1:13 PM To: CF-Talk Subject: OT: Detecting a mac Anyone know of a way to detect a Mac with IE 5 when they hit your web page? Thanks, Chad ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists