if the form is accepted via accepts(request.vars,session) than it uses
session to associate a one-time uuid to the form.
if you submit twice, the second time the form is not accepted because
the uuid was used. You can see this in the form

<input type="hidden" name="_formkey" value="...." />

Massimo

On Jan 21, 11:54 pm, voltron <[email protected]> wrote:
> That should have read "prevention" :-))
>
> On Jan 22, 6:39 am, voltron <[email protected]> wrote:
>
>
>
>
>
> > Hi Massimo,
>
> > can you detail out how double form submission is prevented using
> > web2py in details and phases?
>
> > Thanks
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web2py Web Framework" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to