> I use flash remoting to call cfm pages and I want to use > Application.cfc to define the onRequest event so that I can > have global tag libraries. But it's not working as I get an > error saying it can't include /flashservices/gateway/ which > correct as it's not a real location. How do I get it working?
I'm pretty sure you can't use the onRequest event for Flash Remoting or SOAP requests. Typically, you might use a separate Application.cfc for those requests. For example, in some of our applications we have three Application.cfc files. The core one has no onRequest event, and is used to extend two others: one for CFM pages that defines an onRequest event, and one for direct calls to CFCs that doesn't. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ Fig Leaf Software provides the highest caliber vendor-authorized instruction at our training centers in Washington DC, Atlanta, Chicago, Baltimore, Northern Virginia, or on-site at your location. Visit http://training.figleaf.com/ for more information! ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:245364 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

