You can use the session scope. You can copy the form vars to the session
scope using structappend like so:

<cfset  structappend(session, form, "true")>

Or create another struct and store that in the session scope.
<cfset StrctNew() = session.myvars>
<cfset  structappend(session.myvars, form, "true")>

Or something of that nature.
I don't know if this is best practices...
HTH
G

On Sun, Jan 4, 2009 at 10:33 PM, j s <[email protected]> wrote:

> Working on shopping cart app and stuck between storing shipping info in a
> db shipTable or in client scope.  I'm hesitant to store shipping info into
> the db because some users might not complete the transaction and take up
> rows in the db.  On the other hand if I store shipping info in the client
> scope I'm not sure if this would impact the server.
>
> The goal is hold the users shipping info and later display/process the data
> on the final checkout page.  I tried using form variables but that only
> works from template to template.
>
> Any suggestions or opinions would be greatly appreciated.
>
> Thanks in advance.
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:317394
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to