Yes, you'll have to parse it out of the CGI.HTTP_USER_AGENT variable...i.e.,
HTTP_USER_AGENT=Mozilla/4.0 (compatible; MSIE 5.5; Windows NT 5.0)
It's in there for each hit. Try using
<CFIF FindNoCase("Windows", #CGI.HTTP_USER_AGENT#)>
<CFSET platform = "windows">
<CFELSEIF FindNoCase("Linux", #CGI.HTTP_USER_AGENT#)>
<CFSET platform = "linux">
<etc.../>
Jeff Garza
Web Developer
Spectrum Astro, Inc.
480-892-8200
[EMAIL PROTECTED]
http://www.spectrumastro.com
-----Original Message-----
From: S R [mailto:[EMAIL PROTECTED]]
Sent: Friday, November 03, 2000 11:05 AM
To: CF-Talk
Subject: can CF figure out user platform??
Hi,
I have a problem with some of my pages 'font sizes' appearing differently
across platforms. For example a 'font size' of 1 on a windows machine is
unreadable on a linux machine. I was thinking if when this problem page is
loaded it could figure out what platform the user has and I can dynamically
specify the font size like that. Is there any function or tag that you know
of that can find out this info?
thanks
Sal
_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.
Share information about yourself, create your own public profile at
http://profiles.msn.com.
----------------------------------------------------------------------------
--------------------
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists or send a
message with 'unsubscribe' in the body to [EMAIL PROTECTED]
------------------------------------------------------------------------------------------------
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists or send a message
with 'unsubscribe' in the body to [EMAIL PROTECTED]