<?xml version="1.0" encoding="utf-8"?>
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:dc = "http://purl.org/dc/elements/1.1/" xmlns="http://purl.org/rss/1.0/">
	<channel rdf:about="http://livedocs.adobe.com/">
	<title>LiveDocs Comments - coldfusion - 7 - htmldocs - 00000698.htm</title>	
		<link>http://livedocs.adobe.com/</link>
		<description>Macromedia LiveDocs - online documentation with user feedback.</description>
		<copyright>Copyright 2009, Macromedia, Inc.</copyright>
		<dc:date>2009-11-25T07:59:55</dc:date>
		<dc:language>en-us</dc:language>
		<items>
			<rdf:Seq>
				<rdf:li rdf:resource="http://livedocs.adobe.com/coldfusion/7/htmldocs/00000698.htm#79074" />
				<rdf:li rdf:resource="http://livedocs.adobe.com/coldfusion/7/htmldocs/00000698.htm#49910" />
			</rdf:Seq>
		</items>
	</channel>
	
	<item rdf:about="http://livedocs.adobe.com/coldfusion/7/htmldocs/00000698.htm#79074">
		<title>coldfusion/7/htmldocs/00000698.htm</title>
		<link>http://livedocs.adobe.com/coldfusion/7/htmldocs/00000698.htm#79074</link>
		<description>elpestybandito - &lt;br /&gt;&lt;br /&gt;Great quick cut-n-paste solution for this. Thanks for Sean Corfield, Ray Camden, etc. for really pointing out a solution to this - but elpestybandito's was the easiest for us to implement. I have a /root/Application.cfc file with an onRequest and onRequestEnd declaration. elpestybandito's will work only if you have just an onRequest and not an onRequestEnd in the /root/Application.cfc. If the CFC you are exposing through flash remoting are in /root/subdir/ and are behind a /root/Application.cfc with onRequest, onRequestEnd and onError functions, the following /root/subdir/Application.cfc will work:&lt;br /&gt;&lt;br /&gt;&lt;cfcomponent extends=&quot;/.Application&quot;&gt;&lt;br /&gt;&lt;cfset StructDelete(variables,&quot;onRequest&quot;)/&gt;&lt;br /&gt;&lt;cfset StructDelete(this,&quot;onRequest&quot;)/&gt;&lt;br /&gt;&lt;cfset StructDelete(variables,&quot;onRequestEnd&quot;)/&gt;&lt;br /&gt;&lt;cfset StructDelete(this,&quot;onRequestEnd&quot;)/&gt;&lt;br /&gt;&lt;/cfcomponent&gt;&lt;br /&gt;&lt;br /&gt;It might be wise to clear all the Application.cfc functions from this /root/subdir/'s application scope, not just onRequest and onRequestEnd.</description>
		<dc:creator>nummsa</dc:creator>
		<dc:type>0 0</dc:type>
		<dc:date>2007-12-31T14:25:38</dc:date>
	</item>
	<item rdf:about="http://livedocs.adobe.com/coldfusion/7/htmldocs/00000698.htm#49910">
		<title>coldfusion/7/htmldocs/00000698.htm</title>
		<link>http://livedocs.adobe.com/coldfusion/7/htmldocs/00000698.htm#49910</link>
		<description>You can use web services, flash remoting or event gateway requests CFC's with an Application.cfc containing an onRequest method.  This can be done by creating another application.cfc within a subfolder where your CFC's are, containing the code...&lt;br /&gt;&lt;br /&gt;&lt;cfcomponent name=&quot;Application&quot; extends=&quot;test.Application&quot;&gt;&lt;br /&gt;  &lt;cfset StructDelete(variables,&quot;onRequest&quot;)/&gt;&lt;br /&gt;  &lt;cfset StructDelete(this,&quot;onRequest&quot;)/&gt;&lt;br /&gt;&lt;/cfcomponent&gt;&lt;br /&gt;&lt;br /&gt;*Thanks to Sean Corfield</description>
		<dc:creator>elpestybandito</dc:creator>
		<dc:type>0 0</dc:type>
		<dc:date>2006-06-21T07:10:35</dc:date>
	</item>
	</rdf:RDF>

