Their is a header variable called REQUEST_METHOD that will tell how a page
was submitted.
So...
<cfif CGI.REQUEST_METHOD NEQ "POST">
<!--- Do something if not sent using Post --->
</cfif>
Hope this helps.
----- Original Message -----
From: "Michael Lugassy" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Sunday, July 08, 2001 11:40 AM
Subject: Is it really POST?
How can I check if the .cfm file was submitted using POST and not GET?
(I'm trying to prevent, as possible, people to submit the params using URL
and not form fields).
Thanks,
Michael Lugassy
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at
http://www.fusionauthority.com/bkinfo.cfm
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists