I'm doing just what you are right now. Follow these steps:
1) form is posted 2) create a new query using QueryNew() 3) add a row to the query using QueryAddRow() 4) add all the form data to the row in the query usingh QuerySetCell() 5) serialize the query into a WDDX packet using CFWDDX 6) set a cookie with the value of the WDDX packet using CFCOOKIE Then wherever you need the data..... 1) deserialze the WDDX packet in the cookie 2) voila you have a query with all form data in it 3) do whatever ya need to to re-create your form as it was left HTH Bryan Stevenson B.Comm. VP & Director of E-Commerce Development Electric Edge Systems Group Inc. t. 250.920.8830 e. [EMAIL PROTECTED] --------------------------------------------------------- Macromedia Associate Partner www.macromedia.com --------------------------------------------------------- Vancouver Island ColdFusion Users Group Founder & Director www.cfug-vancouverisland.com ----- Original Message ----- From: "Gyrus" <[EMAIL PROTECTED]> To: "CF-Talk" <[EMAIL PROTECTED]> Sent: Friday, November 15, 2002 12:57 PM Subject: SOT: cookies / WDDX > I'm trying to build some multi-part forms that are supposed to store all the > form data in cookies, so people can leave bits unfinished, come back at a > later date and finish the form off. > > The forms aren't *massive*, but they're not small either - not entirely sure > how much data could be stored, but I'm trying to find out some limits to > plan the project. > > It says in O'Reilly's JS Bible that web browsers don't store more than 20 > cookies per domain and each cookie can't be more than 4 KB in size. Now, 4 > KB is probably not enough to store ALL potential data - but 20 is not enough > if I tried to store each *field* in a separate cookie. > > I've heard about WDDX being used to interact between CF and JS, but I've not > used it before, and I can't think how it could overcome the above cookie > limitations. > > I'd be grateful if anyone had any more info on cookie limitations, or ideas > about how to handle this situation (without a DB!). > > Gyrus > [EMAIL PROTECTED] > work: http://www.tengai.co.uk > play: http://www.norlonto.net > PGP key available > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting.

