When I bring up the add form I set a cookie or session variable that says
addProcess = 1

The first thing I do when I bring up my addprocess is check to see that the
cookie addProcess is 1.  If it is then I perform the insert.  At the end of
the insert I set the cookie to 0.  This way if the page is refreshed the
test fails.

-----Original Message-----
From: Jay Jennings [mailto:[EMAIL PROTECTED]]
Sent: Sunday, August 06, 2000 1:16 AM
To: [EMAIL PROTECTED]
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