If you avoid any output in any application methods then it will work
fine and any Ajax framework (JQuery, JSON.js, etc) can convert the
returned code to native JSON. This is why I said invoke a cfc and pass
in the scope(s) of choice in your onRequestStart method.



> Can cause problems.  The problem usually being that the onRequest,
> onRequestStart and|or onRequestEnd cause data to be added to the request
> response that AJAX can not digest.  White-space being a very easy to
> over look addition.  But if you understand that your request functions
> are going to (or may) be consumed by a web service or AJAX.  And you
> take care to create them so as to not break the response to the web
> service or AJAX request then they can be u

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:339298
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

Reply via email to