On Tuesday, June 28, 2011 11:34:25 AM UTC-4, dorasan wrote:
>
> Anthony, you are right. My new code does still make duplicate records.
> I don't know how come I saw that it prevented a double submission.
>
> Anyway, the code what you gave me as the best way, prevented a double
> submission. It worked. Thank you so much.
> I don"t know why submission comes twice on gae but it's great to know for
> me how to prevent a double submission.
>
> As for that the sessions are not locked on gae, it hasn't made any
> duplicate record although Ive tried to click the button many times very
> quickly.
>
I suppose you'd have to post twice within milliseconds, so probably not too
likely if done manually.
Anthony