Stephen, perhaps shoving everything into the variable scope isn't what you need then. If you're going from form to form, it wouldn't be that hard to loop around the form.fieldnames to set hidden form fields onto the next page to continue to pass on that information. I have a similiar application that does all this with session variables and when the form is -finally- submitted, it dumps everything to a local copy and removes the session variable.
There's probably plenty of ways to do this, but ... I think you need to start thinking of better 'transport' mechanisms, even if it is a session variable (and, using session variables is not a bad thing, just means you have to manage what you're doing, but that goes with any variable scope). The one thing I tend to do before populating my forms / session vars is intialize the whole data structure. That way, things are always defined, it's just a matter of doing a len(trim(varName)) on them to see if there's any data in that scope. Plenty of ways to handle this, overall it's just application planning. You need to sit down and decide how complicated / how simple you want to make this and plan for future growth (if the application calls for it). ~Todd p.s. Thanks for the compliment, just a personal stomping ground. On Mon, 22 Jul 2002, Adams, Stephen wrote: > ********************************************************************** > WESTMINSTER CITY COUNCIL > Please refer to the disclaimer beneath this message > ********************************************************************** > > Well, the application I am building at the moment uses a series of forms to > gather information from the user and then on the final page runs a query > based on what has been selected in these forms. So I am storing some of the > user's choices in session variables so that they can be passed can be used > in the query on the last page. This is quiet a small application. My next > one is going to be a large intranet with a lot of personalisation. > > Stephen > -- ============================================================ Todd Rafferty ([EMAIL PROTECTED]) - http://www.web-rat.com/ | Team Macromedia Volunteer for ColdFusion | http://www.macromedia.com/support/forums/team_macromedia/ | http://www.flashCFM.com/ - webRat (Moderator) | http://www.ultrashock.com/ - webRat (Back-end Moderator) | ============================================================ ______________________________________________________________________ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/[email protected]/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

