I do the update is a separate fuse action then cflocate to the page with
fuse action set to display

form                    <action="index.cfm?fuseAction="UpdateDB">
    vv
update DB          <cflocation url="index.cfm?fuseAction="displayform">
    vv
form                <action="index.cfm?fuseAction="UpdateDB">



then when you refresh you only see the form again.

Phil

----- Original Message -----
From: "Jay Jennings" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Sunday, August 06, 2000 6:15 AM
Subject: Logic Problem


> I have a simple fused app that allows me to add a record to a database. It
> works fine, but after adding a record I can hit the browser's reload
button
> and another record is added -- as many times as I hit the Reload button.
> Which kind of makes sense since the fuseaction is set for adding a record,
> etc.
>
> I obviously have some flawed logic, but after looking at everything
multiple
> times I'm kind of confused. Any hints as to what I should be looking for
> would be _greatly_ appreciated.
>
>  jay
>
> --------------------------------------------------------------------------
----
> To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/fusebox or
send a message to [EMAIL PROTECTED] with 'unsubscribe' in
the body.

------------------------------------------------------------------------------
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/fusebox or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.

Reply via email to