complex data cannot be stored in a cookie. the best way to handle it....client variables, that are stored in a db or in the registry. I think you can store in the registry like you store in a db. either way, I solved the same problem you have by using a structure full of vars that are stored in session variables while the user is active, and in client variables, while the user is gone.
..tony Tony Weeg Senior Web Developer Information System Design Navtrak, Inc. Fleet Management Solutions www.navtrak.net 410.548.2337 -----Original Message----- From: Gyrus [mailto:gyrus@;rooted.freeuk.com] Sent: Friday, November 15, 2002 3:57 PM To: CF-Talk 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 Get the mailserver that powers this list at http://www.coolfusion.com

