prevent the user to click again the same wo:hyperlink whilst page reloads?
prevent the user to click again the same wo:hyperlink whilst page reloads?
- Subject: prevent the user to click again the same wo:hyperlink whilst page reloads?
- From: OC <email@hidden>
- Date: Fri, 06 Feb 2015 05:47:38 +0100
Hello there again,
I might be wrong, but from analysis of my last log it seems at least one of the users got the stupid idea that clicking again on a link whose response was not immediate might speed things up.
I frankly admit I never ever tried that -- after all, who would even think of clicking links whilst the page is being reloaded?!? To me, it does not make any sense. Anyway I've just tested, and found instead of doing nothing (which would seem the reasonable thing to do) it simply creates and runs a new R/R loop each time the link gets clicked, regardless the page is already being reloaded for tens of seconds. Wow.
Thus the aforementioned user started another R/R loop. And another. And another. And so forth. The more concurrent threads did the same thing, the slower they got. Oops.
I guess I could rig some javascripts to catch the clicked link and disable it immeditely or something like that; but it would be some legwork to do properly. I wonder, this being self-evidently a general problem, whether there might already be a solution in WOnder?
Thanks,
OC
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden