I would second Steve's suggestion of using cfinclude rather than cflocation. It is much more efficient and makes the variable handling as easy as... But as an alternative to loading the URL string with the form variables you could always try saving them in the session in a structure.
hth
Brett B)
Jordan Thomas wrote:
Thanks Steve but I am looking to redirect the user. Any other ideas?
-----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Steve Onnis Sent: Wednesday, 28 May 2003 2:32 PM To: CFAussie Mailing List Subject: [cfaussie] RE: Redirect with form variables
either that or do a cfinclude rather than a location
-----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Sean Sent: Wednesday, 28 May 2003 10:19 PM To: CFAussie Mailing List Subject: [cfaussie] RE: Redirect with form variables
URL Scope? Just dump all the form data into the query string on the redirect URL and pass it back across, then populate your form from there?
Or session scoping - create a session.formstuff = structnew() and populate it.
-----Original Message----- From: Jordan Thomas [mailto:[EMAIL PROTECTED] Sent: Wednesday, 28 May 2003 9:33 PM To: CFAussie Mailing List Subject: [cfaussie] Redirect with form variables
Hi,
I have a form that submits to a controller which either sends a user, via cflocation, to a confirmation page if there are no errors or back to the original form if there is an error. If there is an error, I can pass the required variables back to the calling form via the url.
Is there anyway to pass the submitted form variables back to the calling form as form variables. I am trying cfhttp which works well but it does not do a redirect which is what I want.
thanks
Jordan
--- You are currently subscribed to cfaussie as: [EMAIL PROTECTED] To unsubscribe send a blank email to [EMAIL PROTECTED]
MX Downunder AsiaPac DevCon - http://mxdu.com/
--- You are currently subscribed to cfaussie as: [EMAIL PROTECTED] To unsubscribe send a blank email to [EMAIL PROTECTED]
MX Downunder AsiaPac DevCon - http://mxdu.com/
--- You are currently subscribed to cfaussie as: [EMAIL PROTECTED] To unsubscribe send a blank email to [EMAIL PROTECTED]
MX Downunder AsiaPac DevCon - http://mxdu.com/
--- You are currently subscribed to cfaussie as: [EMAIL PROTECTED] To unsubscribe send a blank email to [EMAIL PROTECTED]
MX Downunder AsiaPac DevCon - http://mxdu.com/
-- Brett Payne-Rhodes Eaglehawk Computing t: +61 (0)8 9371-0471 f: +61 (0)8 9371-0470 m: +61 (0)414 371 047 e: [EMAIL PROTECTED] w: www.ehc.net.au
--- You are currently subscribed to cfaussie as: [EMAIL PROTECTED] To unsubscribe send a blank email to [EMAIL PROTECTED]
MX Downunder AsiaPac DevCon - http://mxdu.com/
