[Zope] preventing form submission

David Bear David.Bear at asu.edu
Tue Feb 2 20:54:47 EST 2010


Is there a step by step guide to document how to do this?

On Tue, Feb 2, 2010 at 6:03 PM, Shane Hathaway <shane at hathawaymix.org>wrote:

> Tres Seaver wrote:
> > -----BEGIN PGP SIGNED MESSAGE-----
> > Hash: SHA1
> >
> > Garry Saddington wrote:
> >> Has anyone any suggestions as to how to prevent form submission by the
> >> using pressing the refresh or back buttons?
> >
> > Issue a redirect from the POST handler:  the browser won't "land" again
> > on the original POST target URL, but only only on the redirected page,
> > or the original form.
>
> +1, I've been happy with this technique.
>
> Shane
> _______________________________________________
> Zope maillist  -  Zope at zope.org
> https://mail.zope.org/mailman/listinfo/zope
> **   No cross posts or HTML encoding!  **
> (Related lists -
>  https://mail.zope.org/mailman/listinfo/zope-announce
>  https://mail.zope.org/mailman/listinfo/zope-dev )
>



-- 
David Bear
College of Public Programs at ASU
602-494-0424
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.zope.org/pipermail/zope/attachments/20100202/ea3c794c/attachment.html 


More information about the Zope mailing list