Detect Broswer

fomar

New member
Local time
Today, 15:59
Joined
Dec 21, 2006
Messages
5
I am sure it is very easy but I am just not getting it. I want to insert the browser type in my database. When I use <cfoutput>#cgi.http_user_agent#</cfoutput> in IE I get:

Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 1.1.4322; InfoPath.1)

and in Firefox :

Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.1) Gecko/20061204 Firefox/2.0.0.1

What I want is "Internet Explorer" or "Firefox". How can I get these values??

Thank you
 

Users who are viewing this thread

Back
Top Bottom