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

-----Original Message-----
From: Andy Matthews [mailto:[EMAIL PROTECTED] 
Sent: Monday, January 15, 2007 11:19 AM
To: CF-Talk
Subject: Flash remoting and onRequestEnd.cfm

My company has a stats page that runs when onRequestEnd.cfm gets called. We
use it to collect stats about page visits and that sort of thing. It's only
supposed to run on certain templates, but lately we've noticed some
inconsistencies.
 
It appears that onRequestEnd.cfm is getting called not only from CFM
templates, but also from CFC templates as well. We can't quite figure it out
(until now). Doing some testing, I determined that instantiating a CFC
doesn't cause oRE.cfm to run, neither does calling a method. BUT, since we
know that the CFC is only used in Flash remoting calls, I decided to try a
different method of invocation, calling the CFC via a URL. Doing that causes
the CFC to run oRE.cfm, but according to another developer, our Flash isn't
using direct URL invocation, but instead uses Flash Remoting.
 
I don't know the difference between URL invocation and Flash remoting
personally, but can someone explain the difference? Also, can someone
determine why oRE.cfm is getting run in our CFCs?
 
Regards
 
____________________________________
 
Andy Matthews
Senior Coldfusion Developer

Office:  877.707.5467 x747
Direct:  615.627.9747
Fax:  615.467.6249
[EMAIL PROTECTED]
www.dealerskins.com <http://www.dealerskins.com/> 
 




~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Create robust enterprise, web RIAs.
Upgrade & integrate Adobe Coldfusion MX7 with Flex 2
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:266641
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

Reply via email to