Avoiding duplicate submissions

Madison Kelly linux-5ZoueyuiTZhBDgjK7y7TUQ at public.gmane.org
Thu Jan 25 21:27:46 UTC 2007


Dave Germiquet wrote:
> Hi Madi,
> 
> If your using postgres couldn't you add something in your web app which 
> sets
> a transaction number and if it sees that transacation number it would not
> resubmit?
> 
> I'm thinking your resubmitting the whole code you implemented. so thats why
> it is being resubmitted.

Thanks for the reply!

I've got checks in the program to make sure duplicate submissions don't 
go through, but it's messy and generates an error ("sorry, not unique" 
or "nothing changed"). Though I am hoping to avoid entirely by clearing 
the values.

Madi
--
The Toronto Linux Users Group.      Meetings: http://gtalug.org/
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://gtalug.org/wiki/Mailing_lists





More information about the Legacy mailing list