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/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to