I did some tests and got some results that frankly, I would not expect to get.
I added a query to the application.cfc validation code that inserts into a table the name of the "page" being processed. For my old admin tools, the query inserts one row for the CFM page: Admin.cfm and one for the CFC being accessed Admin.cfc. (these names are just placeholders for other admins) For my Flex 2 admins, the query inserts a row for the CFM page and then a row for a thing called "flex2gateway". All I had to do was add flex2gateway to my list of allowed pages and it started to work. I guess Flex uses ColdFusion 7's "Event Gateways"? --- In [email protected], "gotgoose09" <[EMAIL PROTECTED]> wrote: > > In my website I have a folder named "secure" in which I put my CFCs and > CFMs that hold SWFs (not located in the "secure" folder) that interact > with the CFCs. In this "secure" folder I have an application.cfc file > that checks if the user is logged in when they visit any page in the > folder and if they are allowed to visit that page. > > I used to write admin tools in Flash 8 that used Flash Remoting to > connect to the CFCs. This worked fine with my current setup. Now, I'm > building some in Flex and using the RemoteObject tag. I use a > destination of "ColdFusion" and a source of "secure.PathToCFC". > However, this gives me an error: > > [RPC Fault faultString="Channel disconnected" > faultCode="Client.Error.DeliveryInDoubt" faultDetail="Channel > disconnected before an acknolwedgement was received"] > > If my cfc is located outside of the "secure" folder it works fine. I'm > sure I have added my CFC and CFM page to the list of pages my admin > login can access. So what I'm concluding from this is that there is a > new security feature I'm not aware of that's blocking me, or maybe I'm > doing something wrong. Any suggestions? > -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/

