First, I'm sure this has been addressed, but a search of the 
archives didn't clear it up for me.

I'm slowly incorporating some of the fusebox techniques into a few 
systems I maintain or are in development.  (I wish I had the 
opportunity to develop a real fusebox site from scratch.  Maybe in 
the near future.)

I'm curious how others address this issue.  Fusebox makes heavy 
use of the CFLOCATION tag.  Say I want to insert data into a table 
from a form the user just submitted, then redirect the user to 
another template.  The only way I have access to the form variables 
after the insert is to pass them all via the URL in the CFLOCATION 
tag.  Is there another way to handle this?  Some of our systems 
track a lot of variables throughout a user session.  For most 
variables, the values are user defined and change frequently.  Many 
of these variables are variables used for data filtering set by the 
user that I need to hold on to from page to page.  To keep URLs 
clean, I try to pass them from page to page via forms.  In some 
cases I use a routine to serialize them into a WDDX packet then 
deserialize them on the subsequent page.  This keeps things clean 
and neat only one form variable to deal with).  CFLOCATION 
prevents me from doing this, right?

Of course, I use session/client variables to hold static values 
(variables that are generally set only once during a session).


------------------------------------
Clint R. Tillerson
Meteorologist/Programmer
Pacific Environmental Services, Inc.
5001 South Miami Blvd.
PO Box 12077
RTP, NC  27709
(919) 941-0333
Fax: (919) 941-0234
------------------------------------

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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

Reply via email to