Hi,

On Fri, Sep 27, 2013 at 12:33 PM, Galen Charlton <gmc@esilibrary.com> wrote:
What ended up showing up in my logs was the repeated POSTs to member.pl, though not any GETs of circulation.pl.

Adapting a JavaScript technique [1] to disable multiple form submission prevented holding down on the enter key from spamming patron searches for me.  Of course, that's not a bulletproof technique for various reasons, but something like it should probably be part of Koha's toolkit.

A similar issue in Evergreen where holding down on the enter key could spam OPAC searches was addressed by interposing a short-term cache for running search queries so that if a bunch of identical queries arrive, only one of them queries the database while the rest wait for the first to populate the search result cache.

[1] http://stackoverflow.com/questions/926816/how-to-prevent-multiple-form-submit-from-client-side
[2] https://bugs.launchpad.net/evergreen/+bug/1172936

Regards,

Galen
--
Galen Charlton
Manager of Implementation
Equinox Software, Inc. / The Open Source Experts
email:  gmc@esilibrary.com
direct: +1 770-709-5581
cell:   +1 404-984-4366
skype:  gmcharlt
web:    http://www.esilibrary.com/
Supporting Koha and Evergreen: http://koha-community.org & http://evergreen-ils.org