Browser and OS detection with CF
Does anyone know of a good script to detect the browser and OS (including versions) with CF? So far I have found BrowserDetect UDF (http://www.cflib.org/udf/browserDetect) which looks good, but I would also like to record the OS and Screen Resolution. Are these things better suited to JS? Brook ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:350475 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Browser and OS detection with CF
http://www.cyscape.com/ used to be written in CF, dunno if it still is. On Mon, Mar 19, 2012 at 4:29 PM, Brook Davies cft...@logiforms.com wrote: Does anyone know of a good script to detect the browser and OS (including versions) with CF? So far I have found BrowserDetect UDF (http://www.cflib.org/udf/browserDetect) which looks good, but I would also like to record the OS and Screen Resolution. Are these things better suited to JS? Brook ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:350477 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: Browser and OS detection with CF
Check out the cgi vars: http://livedocs.adobe.com/coldfusion/8/htmldocs/help.html?content=Expressions_8.html Should all be available there. Robert B. Harrison Director of Interactive Services Austin Williams 125 Kennedy Drive, Suite 100 Hauppauge NY 11788 P : 631.231.6600 Ext. 119 F : 631.434.7022 http://www.austin-williams.com Great advertising can't be either/or. It must be . Plug in to our blog: AW Unplugged http://www.austin-williams.com/unplugged ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:350478 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Browser and OS detection with CF
http://www.adobe.com/cfusion/exchange/index.cfm?event=extensionDetailloc=en_usextid=1009781 I used to use this. It is from 03 so you would need to add Chrome and mobile browsers. G! On Mon, Mar 19, 2012 at 12:29 PM, Brook Davies cft...@logiforms.com wrote: Does anyone know of a good script to detect the browser and OS (including versions) with CF? So far I have found BrowserDetect UDF (http://www.cflib.org/udf/browserDetect) which looks good, but I would also like to record the OS and Screen Resolution. Are these things better suited to JS? Brook ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:350479 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Browser and OS detection with CF
On Mon, Mar 19, 2012 at 1:00 PM, Russ Michaels r...@michaels.me.uk wrote: http://www.cyscape.com/ used to be written in CF, dunno if it still is. I haven't used it in years, but BrowserHawk is kept up to date and is a great solution for this work of thing. If you want things like screen resolution, you're going to have to pick something that runs on the client side, not the server side. No amount of looking at CGI variables is going to get you that information. -Cameron -- Cameron Childress -- p: 678.637.5072 im: cameroncf facebook http://www.facebook.com/cameroncf | twitterhttp://twitter.com/cameronc | google+ https://profiles.google.com/u/0/117829379451708140985 ... ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:350480 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Browser and OS detection with CF
Check out the cgi vars: http://livedocs.adobe.com/coldfusion/8/htmldocs/help.html?content=Expressions_8.html Well, actually, no, it won't all be there. Browsers don't for example, typically send the screen resolution to the server. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ http://training.figleaf.com/ Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on GSA Schedule, and provides the highest caliber vendor-authorized instruction at our training centers, online, or onsite. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:350481 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: Browser and OS detection with CF
I guess there is some benefit to using a 3rd party paid tool like browserHawk since they keep it up to date. I'll take another look at it... Brook -Original Message- From: Cameron Childress [mailto:camer...@gmail.com] Sent: March-19-12 11:10 AM To: cf-talk Subject: Re: Browser and OS detection with CF On Mon, Mar 19, 2012 at 1:00 PM, Russ Michaels r...@michaels.me.uk wrote: http://www.cyscape.com/ used to be written in CF, dunno if it still is. I haven't used it in years, but BrowserHawk is kept up to date and is a great solution for this work of thing. If you want things like screen resolution, you're going to have to pick something that runs on the client side, not the server side. No amount of looking at CGI variables is going to get you that information. -Cameron -- Cameron Childress -- p: 678.637.5072 im: cameroncf facebook http://www.facebook.com/cameroncf | twitterhttp://twitter.com/cameronc | google+ https://profiles.google.com/u/0/117829379451708140985 ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:350482 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm