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:266618 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

