So if I understand you and Dave correctly, I have

- Form, blank gets filled in and submitted to itself
- When it's resubmitted to itself, I check to see if it's a unique user
- Submit when it's a unique  user, otherwise complain.
- go to "hey thanks!" page using cflocation.

Is this right?

Then, I guess I write a cookie to carry their "logged in" state?

And thanks to the people who explained the inners of cflocation.

>On Tue, 28 Sep 2004 14:56:09 -0400, Daniel Kessler <[EMAIL PROTECTED]> wrote:
>> 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?
>
>The cure would be to insert the data after validation before doing the
>cflocation (and cflocation to a thank you / summary / confirmation
>page).
>--
>Sean A Corfield -- http://www.corfield.org/
>Team Fusebox -- http://www.fusebox.org/
>
>"If you're not annoying somebody, you're not really alive."
>-- Margaret Atwood
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]

Reply via email to