You mean, make sure no one happens to wander over to page B by typing in the
URL? If you have a form variable that you KNOW is going to be passed, look
for it at the top of the page.
<cfif IsDefined("form.whatever")>
allow the page to run - rest of code goes here
<cfelse>
Sorry bud!
</cfif>
----- Original Message -----
From: "Parker, Kevin" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Wednesday, January 03, 2001 3:54 PM
Subject: Calling another page
> Can someone give me some advice here please.
>
> I have a form called A where the action template is called B. How can I
> ensure that B can only be executed by clicking the submit button on A?
>
> TIA!!!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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