As long as the AJAX requests are being made to a file under the web root - and how could they not? - then there is no need to duplicate the <cfapplication> tag in your 'remote' CFC
On Friday, May 1, 2009, Lance S <[email protected]> wrote: > > I think you mentioned you are using ajax, correct. Ajax is processing with > out knowledge of the application space. To get around this I created a cfc > that all my cfc calls go through and the top of the cfc looks like > > <cfcomponent extends="mxAjax.core.cf.mxAjax" output="false"> > <CFAPPLICATION NAME="NewHeaders" > SESSIONMANAGEMENT="true" > CLIENTMANAGEMENT="true" > SETCLIENTCOOKIES="false" > SESSIONTIMEOUT="#CreateTimeSpan(0,0,20,0)#" > APPLICATIONTIMEOUT="#CreateTimeSpan(0,2,0,0)#"> > <cffunction access="remote" name="............ > > The key is the the cfapplication name has to match the application name that > you have set you your application.cfm file. As long as the names match you > should be able to access and manipulate your session variables. Hope this > helps > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:322119 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

