Re: Preventing double-clicks APPEARS TO WORK FINE
| From: | John Meyer | Date: | Tue, 27 Jun 2006 15:09:21 +0000 |
| Subject: | Re: Preventing double-clicks APPEARS TO WORK FINE | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-238715@lists.php.net to get a copy of this message | ||
Jay Blanchard wrote:
[snip] JavaScript can't be used for such things, or at least it can't be relied upon. What if the user has disabled JavaScript? Or what if the user has specifically disabled the JavaScript behaviour you are relying on? [/snip] Egg Zachary. That was why I wanted a PHP method. Since the SESSION data is set for the activation receipt I do not have to query the database again, save for the initial query to check and see if the data exists.You're still doing two round-trips to the server, which seems very inefficent to regulate user behavior. -- Online library -- http://pueblonative.110mb.com 138 books and counting.