why not move the check to the action form?  that way they can enter the data
all they want, and click submit all they want.  it won't insert the data if
someone by that name's already there.

chris olive, cio
cresco technologies
[EMAIL PROTECTED]
http://www.crescotech.com



-----Original Message-----
From: Smith, Daron [mailto:[EMAIL PROTECTED]]
Sent: Thursday, April 12, 2001 9:17 AM
To: CF-Talk
Subject: disabling back or second insert


I have a registration form, that queries initially to make sure that the
registrant is not already registered, so it eliminates people from
registering more than one time if they come back to the site, however if
they submit the form and do not think anything has happened, they can use
their back button, hit the submit button and the query does another insert
and I end up with multiple records in my DB.  What is the best way of
keeping them from doing this?  An expiring cookie? Or is there javascript to
eliminate the ability to go back?

Thanks

Daron J. Smith



Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to