Ask a Question related to Coldfusion - Advanced Techniques, Design and Development.
-
weswhite7 #1
Using #cgi.HTTP_USER_AGENT#
I was curious if anyone could help me out on this.
I've been doing CF for about 2 months now, and understand it pretty well now.
I was curious if it is possible to break apart the information returned with
#cgi.HTTP_USER_AGENT# so it enters it into different fields in my database.
IF anyone knows how to do this please help me. If it's not possible, then just
let me know so I stop wasting my time. The one's I really care about getting
returned are the browser type, operating system, screen resolution, and referer
information.
Thanks
Wes
weswhite7 Guest
-
$HTTP_USER_AGENT content
Hi again, In last post I was asking about $HTTP_USER_AGENT content. You helped me a lot, not only answering, but also visiting my webpage and... -
[PHP] Parsing HTTP_USER_AGENT
Greetinx, on 2003.08.17 07:29, AzN at AznKnightmare@hotmail.com wrote: Says "I know kung fu.", haha. Strikes me that I'm mistakenly located... -
How can I emulate my browsers HTTP_USER_AGENT?
Folks, I use Apache/PHP with Webazlier to view the log files. I get a number of user agents (web browsers?) that visit the website - For... -
mix-tape developer #2
Re: Using #cgi.HTTP_USER_AGENT#
There is no "clean" method to do it. However if you consider that variable
cgi.HTTP_USER_AGENT as a list of elements, you can use the function "gettoken"
([url]http://livedocs.macromedia.com/coldfusion/6.1/htmldocs/funct112.htm[/url]) or a loop
in <cfscript>. But I know no other solution to do it.
Good luck
S@id+
mix-tape developer Guest



Reply With Quote

