Re: Double click problem

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Mar 19, 2008 at 12:44 PM, Jim Lucas <lists@xxxxxxxxx> wrote:
> Daniel Brown wrote:
>  >
>  >     I like Eric's method better than the timestamp method I proposed.
>  > Much cleaner and easier to institute, and I'd hazard a guess at it
>  > being more reliable as well.
>  >
>
>  The initial problem that I see with it would be that if the user clicks the
>  submit button a second time, the first transaction is canceled.  If the process
>  takes a long time, maybe the time period for the server to get the approval has
>  already passed, but the server is still doing stuff but not redirected the
>  person to the success page.  At this point, the user has purchased the item
>  successfully, but they did see the success page.  So they repeat the process,
>  over and over and over...

    Right, but I meant that as a replacement to my "backup" solution.
As a backup for disabling the button using JavaScript, as mentioned.

    Sorry, should've clarified that.  Good catch, Jim.

-- 
</Daniel P. Brown>
Forensic Services, Senior Unix Engineer
1+ (570-) 362-0283

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux