yeah thats just what I did but for some reaason its not staying persistant. When i get to the confirmation page it says my struct is empty, but on the cc# page its clearly defined via cfdump. Its very confusing for me.
as an example: <cfset addressinfo.firstname=form.firstname> .... which is usable until I actually need it then its "struct is empty". Phil -----Original Message----- From: Josh Nathanson [mailto:[EMAIL PROTECTED] Sent: Thursday, April 27, 2006 5:09 PM To: CF-Talk Subject: Re: [CFUGCNY] Struct not persistant 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:238971 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

