<div dir="ltr">Hi,<div class="gmail_extra"><br><div class="gmail_quote">On Fri, Sep 27, 2013 at 12:33 PM, Galen Charlton <span dir="ltr"><<a href="mailto:gmc@esilibrary.com" target="_blank">gmc@esilibrary.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><div>What ended up showing up in my logs was the repeated POSTs to <a href="http://member.pl" target="_blank">member.pl</a>, though not any GETs of <a href="http://circulation.pl" target="_blank">circulation.pl</a>.</div>
</div></div></blockquote></div><div class="gmail_extra"><br></div>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.</div>
<div class="gmail_extra"><br></div><div class="gmail_extra">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.</div>
<div class="gmail_extra"><br></div><div class="gmail_extra">[1] <a href="http://stackoverflow.com/questions/926816/how-to-prevent-multiple-form-submit-from-client-side">http://stackoverflow.com/questions/926816/how-to-prevent-multiple-form-submit-from-client-side</a></div>
<div class="gmail_extra">[2] <a href="https://bugs.launchpad.net/evergreen/+bug/1172936">https://bugs.launchpad.net/evergreen/+bug/1172936</a></div><div class="gmail_extra"><br>Regards,</div><div class="gmail_extra"><br>Galen<br>
-- <br><div dir="ltr"><div>Galen Charlton</div><div>Manager of Implementation</div><div>Equinox Software, Inc. / The Open Source Experts</div><div>email:  <a href="mailto:gmc@esilibrary.com" target="_blank">gmc@esilibrary.com</a></div>
<div>direct: +1 770-709-5581</div><div>cell:   +1 404-984-4366</div><div>skype:  gmcharlt</div><div>web:    <a href="http://www.esilibrary.com/" target="_blank">http://www.esilibrary.com/</a></div><div>Supporting Koha and Evergreen: <a href="http://koha-community.org" target="_blank">http://koha-community.org</a> & <a href="http://evergreen-ils.org" target="_blank">http://evergreen-ils.org</a></div>
</div>
</div></div>