Thanks for prodding me to clarify. Yes, the first page is a form page, however, I do a ton of server side validation on this page. So in other words, I have a form which posts to itself #CGI.SCRIPT_NAME#, then I loop back through the top of this same form page (where I have the validation routines), validating the fields. If some fields are no valid, the page continues to draw out, prompting the user to re-input. If all fields pass, I'd like to pass the vars to a second page for email send outs and db posting.
Mark -----Original Message----- From: Timothy Heald [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 16, 2003 4:19 PM To: CF-Talk Subject: RE: Passing URL vars between pages I think I would need more info. Are you getting the info from a form on a previous page? If so you should go look at the tag embed form fields, and then use JS to submit the form on page load. If not then there are other ways. Maybe by using a session variable, or group of session variables. I am not sure why it seems like a lot to maintain state across a single request. I mean all you have to do is: <cfset session.email = url.email> and so on. Also if your in MX I think you can do <cfset session = duplicate(url)> right? Tim -----Original Message----- From: Mark Leder [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 16, 2003 4:07 PM To: CF-Talk Subject: Passing URL vars between pages Hi all, I've got a messy (lengthy) <cflocation URL="process.cfm?emailaddress=#URLEncodedFormat(URL.emailadr)#&...> which I contemplated passing about 25 URL variables between one page and a second. On the second page, I would use the URL vars to populate a db. I don't need to keep the vars beyond the second page after they've been written. With this amount of vars what's a good way to accomplish: session, WDDX packet, etc? I know how to write a session, but it seems like a lot for just a one-page pass. If I do a WDDX Serialization, I don't know how to write it, and need an example. Thanks in advance. Mark ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| 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 Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4