Just wanted to follow up on this thread. We thought we had this issue solved, but it cropped up again. This time, we logged a certain variable and this is what we found:
<cfset VARIABLES.currentTemplate = getfilefrompath(LCase(cgi.path_translated)) /> Recording VARIABLES.currentTemplate showed us that the "page name" for Flash Remoting calls was returned as "gateway". So, the answer to this issue was to excluse any page called "gateway" from writing our stats. Thanks for everyone's help. This issue is busted!! >Oh.. > >So assuming a CFC is hit via Flash Remoting, then that string would appear? >That seems easy enough. Thanks. > > >Andy matthews > >-----Original Message----- >From: Kevin Aebig [mailto:[EMAIL PROTECTED] >Sent: Tuesday, January 16, 2007 9:37 AM >To: CF-Talk >Subject: RE: Flash remoting and onRequestEnd.cfm > >Here's what I dug up... basically just make sure the call isn't originating >from the remoting gateway. > ><cfif ARGUMENTS.thePage NEQ "/flashservices/gateway"> > // PROCEED AS NORMAL... ></cfif> > >Cheers, > >!k > >-----Original Message----- >From: Andy Matthews [mailto:[EMAIL PROTECTED] >Sent: Tuesday, January 16, 2007 8:08 AM >To: CF-Talk >Subject: RE: Flash remoting and onRequestEnd.cfm > >A sample would help out. In this case, the page is all Flash and we're >needing to find out how onRequestEnd is getting called multiple times from >within this particular app. > >Thanks for the help Kevin. > >-----Original Message----- >From: Kevin Aebig [mailto:[EMAIL PROTECTED] >Sent: Monday, January 15, 2007 6:28 PM >To: CF-Talk >Subject: RE: Flash remoting and onRequestEnd.cfm > >If you dump the current calling page and filter out pages coming from >/flashservices/gateway than you shouldn't be triggering the onRequestEnd.cfm >page anymore. > >I've got a sample at work I'll post tomorrow when I get in... > >Cheers, > >!k > >-----Original Message----- >From: Andy Matthews [mailto:[EMAIL PROTECTED] >Sent: Monday, January 15, 2007 3:55 PM >To: CF-Talk >Subject: RE: Flash remoting and onRequestEnd.cfm > >Kevin... > >I'm not familiar with remoting at all. Can you clarify how I can filter out >processes coming from remoting in the onRequestEnd.cfm? > > >andy > >-----Original Message----- >From: Kevin Aebig [mailto:[EMAIL PROTECTED] >Sent: Monday, January 15, 2007 3:47 PM >To: CF-Talk >Subject: RE: Flash remoting and onRequestEnd.cfm > >AMF is an encoded RPC and extremely similar to the idea of web services. You >can learn about AMF at the Red5 project site or the AMFPHP site... > >If you ask your developer, he should be able to tell you why unless it's >being called elsewhere that doesn't have anything to do with the CFC. > >Are you guys using authentication for your CFC? >Is this happening with other CFC's? >Has this been confirmed through the NetConnection Debugger (Flash tool)? > >At bare minimum you could ignore anything coming from the gateway within >your onRequestEnd.cfm. > >Cheers, > >Kevin ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Upgrade to Adobe ColdFusion MX7 Experience Flex 2 & MX7 integration & create powerful cross-platform RIAs http:http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:269328 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

