i don't know of an "easy" way. but one thing you could do is to compare the 
data with what is already in the DB and if it matches then don't do the 
second input.
 It will really depend on the type of data being input and if there are any 
unique fields you can compare to (like email address's etc).
 jonese

 On Apr 4, 2005 1:09 PM, Jeffrey Pratte <[EMAIL PROTECTED]> wrote: 
> 
> Gang,
> 
> I am occasionally getting duplicate records in my database. I think it is 
> coming from people hitting “Submit” twice when the server is 
> slow. How 
> do you guys prevent this?
> 
> I tried some JavaScript code to disable the button, which did gray-out the 
> button, but then did not pass the Button info along to Cold Fusion.
> 
> Thanks for you help, Jeff
> 
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble 
Ticket application

http://www.houseoffusion.com/banners/view.cfm?bannerid=48

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:201398
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to