[Zope] preventing form submission

Shane Hathaway shane at hathawaymix.org
Tue Feb 2 20:03:34 EST 2010


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


More information about the Zope mailing list