> Can I use jquery ajax to call a cfc that is located outside the webroot? I 
> tried it but I think it is trying to look for the cfc within web root. How 
> can I
> get it to point to a cfc outside the webroot?

You can't make an HTTP request (which is all that AJAX is really) to
something that doesn't have a valid URL and isn't available through
the web server. If you want to store things outside your web root,
you'll need to create a virtual directory in your web server to make
this work.

You can invoke CFCs outside the web root from CF code, because CF is
installed on your server and can traverse that server's filesystem
(unless you've reduced permissions for your CF service).

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
http://training.figleaf.com/

Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on
GSA Schedule, and provides the highest caliber vendor-authorized
instruction at our training centers, online, or onsite.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
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:342957
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

Reply via email to