Snake wrote:
> You must have your CFC setup as a web service, as you cannot execute a CFC
> via the URL otherwise.
Any CFC method with an access type of "remote" can be called via
HTTP-GET, regardless of whether it's set up as a web service in the
CFADMIN or not (I'm not even really sure what that does)
Max - why do you want to disable the HTTP GET method?
One way you could do it would be through your Application.cfm
<cfif listlast(cgi.script_name) is "cfc"
and cgi.request_method eq "GET">
<cfabort>
</cfif>
I think flash/flex remoting calls *AND* web servers all use the POST
protocol.
Rick
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four
times a year.
http://www.fusionauthority.com/quarterly
Archive:
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:262591
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4