Rick,
I don't want to disable it, I'm trying to use it! :-)

I've used it for a couple of sites in the past. On one site that calls the
cfc directly, it has mysteriuosly stopped working. I upload the cfc, browse
to the page and get the page not found error. Its like someone disabled the
ability to call the cfc directly.

Not sure what is going on. Just trying to figure out what has happened.
AFAIK, no other code has changed.

Thanks guys!

~Max

On 12/2/06, Rick Root <[EMAIL PROTECTED]> wrote:
>
> 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:262643
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

Reply via email to