-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Elihu Smails wrote:
| Is there a way to prevent multiple form posts from the
| same page/user/session using only servlets?  I have a
| page where users can upload files, but I do not want
| them to keep smashing the upload button if their files
| are large, and the user becomes impatient.

~  When they click the button, store a cookie, or set a value on the
page, saying that the button was pressed, then ignore anything with the
same filenames until this value is cleared.  Or, just save each filename
that is uploaded as a hidden variable in the form, and ignore duplicate
names.

- --
"Love is mutual self-giving that ends in self-recovery." Fulton Sheen
James Black    [EMAIL PROTECTED]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (MingW32)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFBuKR98psvJTl+fosRAu3HAJ41haEp/Oq52WfPGyn20OJq53ENiQCg2SNQ
7eBN42uboeFtE8lrbgxOYCk=
=odrz
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to