If you are using session management you can scope your struct to the 
session --

<cfset session.mystruct = #mystruct#>

Then it will persist over your pages as you desire.  You would access the 
information like so --

session.mystruct.address
session.mystruct.name
etc.

-- Josh


----- Original Message ----- 
From: "Phillip Perry" <[EMAIL PROTECTED]>
To: "CF-Talk" <[email protected]>
Sent: Thursday, April 27, 2006 1:56 PM
Subject: RE: [CFUGCNY] Struct not persistant


> Hi,
>
> I have  3 pages for a checkout for a shopping cart. First collects
> shipping/billing info, second collects cc#, last is a confirmation page. 
> In
> a separate template that i cfinclude i have made a 2nd struct named
> addressinfo that collects the shipping/billing info in the hopes that i 
> can
> use it to fill in an email that confirms  to the user that  I recieved the
> order. The problem is the struct doesn't persist through  all the 
> templates
> .. It works on the same page as the  cc# page (via cfdump)  but on my
> confirmation template where i have an email to the user setup my struct
> disappears ,  so to speak. I do a dump of the struct in the last section 
> but
> i get the error message that  address info doesnt exist.  I hope that 
> makes
> sense.
>
> Thanks,
>
> Phil
>
>
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:238970
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to