Re: Preventing double-clicks APPEARS TO WORK FINE
| From: | Lester Caine | Date: | Mon, 26 Jun 2006 21:13:08 +0000 |
| Subject: | Re: Preventing double-clicks APPEARS TO WORK FINE | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-238666@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.I found that my own problem with double click was caused by simply not updating the session flag early enough! i.e. before trying to do anything with the database connection ;) -- Lester Caine - G8HFL ----------------------------- L.S.Caine Electronic Services - http://home.lsces.co.uk Model Engineers Digital Workshop - http://home.lsces.co.uk/ModelEngineersDigitalWorkshop/ Treasurer - Firebird Foundation Inc. - http://www.firebirdsql.org/index.php