Re: preventing multiple submissions
| From: | Neil Freeman | Date: | Mon, 26 Nov 2001 17:37:22 +0000 |
| Subject: | Re: preventing multiple submissions | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-75728@lists.php.net to get a copy of this message | ||
Have a look at:
http://www.faqts.com/knowledge_base/view.phtml/aid/863/fid/129
May be of some use.
Neil
Derek Mailer wrote:
> I have a problem with a form on my website.
>
> it's part of a shopping cart application, whereby the form consists of a list of products
> and the user enters the quantity they require of each product in the field provided. Everything
> works okay except for the fact that if someone hits the submit button more than once the products
> will be added to the 'cart' more than once.
>
> I've tried altering the script that handles the posted form info, but the problem
> persists. I've also simplified the page that loads after adding products to the shopping cart
> so that it loads quicker (people are less likely to click the submit button more than once).
>
> Can anyone suggest a solution?
>
> Thanks in advance for any help.
>
> Regards,
>
> Derek
>
> **********************************************************************************
> This e-mail (and any attachment) is intended only for the attention
> of the addressee(s). Its unauthorised use, disclosure, storage
> or copying is not permitted. If you are not the intended recipient,
> please destroy all copies and inform the sender by return e-mail.
> This e-mail (whether you are the sender or the recipient) may be
> monitored, recorded and retained by Business Information
> Publications Limited (BiP). E-mail monitoring/ blocking software
> may be used, and e-mail content may be read at any time.You
> have a responsibility to ensure laws are not broken when composing
> or forwarding e-mails and their contents.
> **********************************************************************************
>
> ***************************************************************
> This message was virus checked with: SAVI 3.51
> last updated 20th November 2001
> ***************************************************************
--
--------------------------------
Email: neil.freeman@asa.co.uk
neil_freeman@yahoo.com
--------------------------------