Managing flow is really a matter of creating a bit string that contains 1
position for each step in the process.
Example: If there are 10 steps to a process, create a string of 10 zeroes
0000000000
Save this value in the appropriate table within your database. Now after the
user completes each step, you simply update the bit starting with the RIGHT
MOST BIT being step 1 (Usually getting the user's info or id at login). We
do this with a module that gets passed a simple integer representing the
step number to update and the value to set (1 for complete or 0 for
incomplete). The URL that the action calls might look like
http://www.creativedata.net/index.cfm?fa=settrack&sn=2&sv=1
fa - fuseaction
sn- Step Number
sv - Value
By doing this, it is simple to determine where a user left off in a process
and dump them back to that step.
An example can be found at https://www.debtfree.org/_creditapp
It works quite well.
Jim Nitterauer
http://www.creativedata.net
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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