I use 
<cfif cgi.request_method is "post"></cfif>  with good results.