> Ah ok, and I enter a list like GET,POST I suppose?

Right.

> But this has to be done for every web site. I finally prefer my solution in a 
> commonApplication.cfm which is
> included by every site Application.cfm

Well, actually, you can do this. If you're using IIS 6 or earlier, you
can configure the CF ISAPI mapping in one place if you choose (when
you select "All" when running wsconfig). If you're using IIS 7, you
can place entries in applicationHost.config.

And, frankly, this is something I'd rather handle at the web server
than at the application server, as the web server has a clearly
defined way for dealing with HTTP verbs. CF really doesn't, beyond GET
and POST, as far as I can tell.

All that said, you should be able to do this from CF in
Application.cfc/cfm, which could be shared across multiple websites if
you choose to set it up that way. Just look at CGI.REQUEST_METHOD. If
you don't get that, or CGI.METHOD, you can use GetHttpRequestData to
view raw request data.

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

Fig Leaf Software provides the highest caliber vendor-authorized
instruction at our training centers in Washington DC, Atlanta,
Chicago, Baltimore, Northern Virginia, or on-site at your location.
Visit http://training.figleaf.com/ for more information!

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:326651
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