Re: coldfusion sessions and facebook connect

2009-10-09 Thread Jeff U
Thanks Dan. This is a bit different than the old embedded Facebook apps. Rather Facebook Connect is their solution to signing into one account across the web. Using your Facebook account to authenticate to a variety of apps. You can see it working on Digg as an example. You can think of my

Help With Accessing Web Services

2009-10-09 Thread Robert Nurse
Hi All, I'm using CFINVOKE to consume an enterprise web service. Now, I'm not well versed on web services. But, from reading the CF documentation on them, you're supposed to be able to use CFINVOKE... to access them. So, in my test page I have: cfinvoke

Re: Help With Accessing Web Services

2009-10-09 Thread Dave Watts
My question is, why is CF trying to compile Java code if this web service is available to the enterprise? Whenever you invoke a web service, CF needs to create local classes to represent the remote objects exposed by the web service. This is how most web service clients work.

JSON help

2009-10-09 Thread Stefan Richter
Hi, Flex dev here - wannabe CF coder :-) I need to return some JSON to a Flash Lite client, the format I'd like to produce looks like this: { total: 100, items: [ {id: 0, title: Some Title}, {id: 0, title: Some Title},

Re: JSON help

2009-10-09 Thread cold.fusion
Create a struct, with keys 'total' and 'items'. 'items' should be a struct of structs, with each 'record' having an 'id' and 'title'. When making the request of your cfc method, which should be set to return this struct, include another parameter to the request: returnFormat = JSON

RE: JSON help

2009-10-09 Thread brad
Personally, I don't fight it and just accept the default serialization of ColdFusion's queries. They usually some across as an ArrayList in ActionScript and checking the length property will tell you what the total number of records are. It's easier to just use the meta data of the object

RE: CF 9 + EC2

2009-10-09 Thread brad
Here's some random info about CF9+EC2 that come down the wire this morning. http://www.alagad.com/blog/post.cfm/alagad-adobe-coldfusion-cf-ec2 ~Brad Original Message Subject: Re: CF 9 + EC2 From: Agha Mehdi aghaime...@gmail.com Date: Fri, October 09, 2009 12:19 am To: cf-talk

Re: JSON help

2009-10-09 Thread Stefan Richter
Brilliant, thanks. I'll give that a shot. Cheers Stefan On 9 Oct 2009, at 16:59, b...@bradwood.com wrote: Personally, I don't fight it and just accept the default serialization of ColdFusion's queries. They usually some across as an ArrayList in ActionScript and checking the length

Re: CF 9 + EC2

2009-10-09 Thread Agha Mehdi
yup. Saw another article yesterday along the same lines. Alagad got some serious attention. It will be nice once it is released. On Fri, Oct 9, 2009 at 9:06 AM, b...@bradwood.com wrote: Here's some random info about CF9+EC2 that come down the wire this morning.

Re: JSON help

2009-10-09 Thread Stefan Richter
I've now done the following - anything wrong with that? cfset obj = StructNew() cfset obj.total = list.recordcount cfset obj.items = ArrayNew(1) cfloop query=list cfset item = StructNew()

RE: JSON help

2009-10-09 Thread brad
That code looks like it will run without erroring, but know that your struct keys will be uppercase once they reach Flash unless you use the array notation I showed you. Other than the fact that the pound signs are unnecessary, I don't see any reason why that wouldn't work. If this is a web

Re: Help With Accessing Web Services

2009-10-09 Thread Robert Nurse
My question is, why is CF trying to compile Java code if this web service is available to the enterprise? Whenever you invoke a web service, CF needs to create local classes to represent the remote objects exposed by the web service. This is how most web service clients work.

application.cfc for security

2009-10-09 Thread Robert Harrison
Smart Security, version of virus signature database 4494 (20091009) __ The message was checked by ESET Smart Security. http://www.eset.com ~| Want to reach the ColdFusion community with something they want? Let them

RE: application.cfc for security

2009-10-09 Thread brad
Not if the files being uploaded are things like images, or text files. Requests for those file types aren't routed through ColdFusion. Instead the webserver hands the files directly back to the user. Options: 1) Store the files outside of the webroot and only allow programmatic access via

Re: application.cfc for security

2009-10-09 Thread Agha Mehdi
: 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 __ Information from ESET Smart Security, version of virus signature database 4494 (20091009

RE: application.cfc for security

2009-10-09 Thread Robert Harrison
This is what I thought. Option 3 sounds the most realistic. Still, another project with scope creep and no budget increase. 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

Re: application.cfc for security

2009-10-09 Thread Charles Sheehan-Miles
I've never allowed ftp access to my apps, but I do allow file uploads of images and such through file managers built into the app session scope includes a #session.homedir# value unique to each user.. when they upload a file (i use cffm) it lands in their home directory, and can then be

AIML / ALICE bots

2009-10-09 Thread Charles Sheehan-Miles
Before I start attempting to reinvent the wheel, is anyone aware if there is an open source CFC wrapper for ALICE bots? I've spent some time googling and checking RIAForge, but no luck thus far. ~| Want to reach the ColdFusion

Re: AIML / ALICE bots

2009-10-09 Thread cold.fusion
I had to look it up, to have a clue what you were talking about. Don't know about a CFC wrapper, but a quick google of alice bot coldfusion did bring up a alicebot-general mailing list entry from 2001 from James Maltby, who mentions writing a AIML 1.0 definition and syntax checking plugin for

CF8 fckeditor hotfix fails security scan?

2009-10-09 Thread m...@outofchaos.com m...@outofchaos.com
Howdy, We're trying to get a new web site launched on CF8. We are running 8.0.1, and I've applied the fckeditor vulnerability hotfix. The hotfix file shows up in the update field and classpath, and the file appears to be located where the hotfix notes say it should be. I removed the two

Re: Help With Accessing Web Services

2009-10-09 Thread James Holmes
Have you changed the JVM from the one shipped with CF8 If so, the java tools jar from the alternate JVM needs to be copied to CF for some webservice calls to work properly (as well as a few other things). mxAjax / CFAjax docs and other useful articles: http://www.bifrost.com.au/blog/