A cflocation is simply a redirect for the browser and so, yes, all form vars are lost.  What you can do is save all of the posted data to session variables, do the redirect and then use the session vars in your template.

HTH,

--
Howie Hamlin - inFusion Project Manager
On-Line Data Solutions, Inc. - www.CoolFusion.com
inFusion Mail Server (iMS) - The Award-winning, Intelligent Mail Server
PrismAV - Virus scanning for ColdFusion applications
>>> Find out how iMS Stacks up to the competition: http://www.coolfusion.com/imssecomparison.cfm

  ----- Original Message -----
  From: Daniel Kessler
  To: CF-Talk
  Sent: Tuesday, September 28, 2004 2:56 PM
  Subject: losing form on cflocation

  I have a registration form that I want to insert to a DB after
  validation.  To validate a unique name, I reload the form and query
  on the information.  If it's a unique name, I <cflocation> to the
  INSERT page.  Thing is, when I get to the insert page, the form is no
  longer available.  I assume it's because cflocation is doing a
  replace().  Is there a cure for this?

  btw, I'm validating this way so that if there's an unique
  registration error, the form still has it's values.

  thanks!

  --
  Daniel Kessler

  Department of Public and Community Health
  University of Maryland
  Suite 2387 Valley Drive
  College Park, MD  20742-2611
  301-405-2545 Phone
  www.phi.umd.edu
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]

Reply via email to