[Zope] preventing form submission

Tres Seaver tseaver at palladion.com
Tue Feb 2 14:53:49 EST 2010


-----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.



Tres.
- --
===================================================================
Tres Seaver          +1 540-429-0999          tseaver at palladion.com
Palladion Software   "Excellence by Design"    http://palladion.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAktogs0ACgkQ+gerLs4ltQ4OagCfTgX+ZNJdpnO/Au4q3GbyE3dT
+kgAoIrPJf69OqTJA8pzC0f4uR/71RGA
=17pI
-----END PGP SIGNATURE-----



More information about the Zope mailing list