Well,
Let's say you have a form and are doing some entry into the database. Then
you go to your next flow point which is thisfile. If you include it and the
user refreshes, bam you now have duplicate entries from your form because
every include will get hit again. If you use the cflocation, no problems.
-george
>From: "Brian Shearer" <[EMAIL PROTECTED]>
>Reply-To: [EMAIL PROTECTED]
>To: Fusebox <[EMAIL PROTECTED]>
>Subject: Why use url_files?
>Date: Sat, 24 Feb 2001 18:24:01 -0800
>
>Is there any technical reason to use redirection files?
>
>The book only suggests that
> <cfinclude template="url_ThisFile.cfm">
>is easier to read in the index.cfm file than
> <cflocation url="index.cfm?fuseaction=ThisFile">
>
>Is this merely an aesthetic issue? I can see using a url_file if it
>contains
>logic but otherwise it seems like overkill.
>
>If you study the index files in the fusebox.org site you will find that
>both
>methods are used.
>
>Is there something I am missing?
>
>Brian
>[EMAIL PROTECTED]
>
>
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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