> <cfif cgi.http_user_agent neq ""> > > <cfset usersOS = CGI.HTTP_USER_AGENT> > > <cfelse> > > <cfset usersOS = "unknown"> > > </cfif> > > Now, if you're not sufficiently advanced in CF development, > I'd suggest > asking for help with this one! Seriously Jonese, I'm sorry to > be having > fun with this at your expense, but you spent way more time > looking for a > function to do this than it would have taken for you to write > a couple > of lines of code and that's even if you only spent 10 minutes looking!
I think you are kind of joking, and I do agree that the answer could have been found if the poster poked about a bit, but I have to say that your code will not return the operating system. It will return a bunch of data that may or may not include the operating system. That is why the original poster was hoping someone would give him some direction on a function that will extract the OS from the metadata that all of the various systems out there can return. Also, problems like these are why a company like BrowserHawk is in business. It's not an easy question to answer. ------------- This transmission may contain information that is privileged, confidential and/or exempt from disclosure under applicable law. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution, or use of the information contained herein (including any reliance thereon) is STRICTLY PROHIBITED. If you received this transmission in error, please immediately contact the sender and destroy the material in its entirety, whether in electronic or hard copy format. Thank you. A1. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:235036 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

