[FX.php List] Problem with creating duplicate records

Gjermund Gusland Thorsen ggt667 at gmail.com
Fri Jul 21 16:48:40 MDT 2006


Would be nice to see your source if I am to come up with ideas on "how
to prevent user reload the page ..."

ggt667

On 7/21/06, Jerry Do <jhdo at central.uh.edu> wrote:
> Hello all,
>
> I am new to fx.php and php.  I have problem users create duplicate records
> by reload the response page.
> For example:
> I have a form name "formA" and the ACTION ="formA_response.php".
> When the user click submit, the form will send all the information to
> formA_response.php.
> The formA_response.php page is the page to create new record.  I noticed
> that if a user reload formA_reload.php,  new record will be created.  Is
> there a good method to prevent the user reload the page or going to that
> page?
> I am thinking that I might send to a page that will create the record then
> close that page after the record created.  However, I am not sure it will
> work or how to do write it yet.
>
> Any input is welcome.
>
> Thank you in advance,
>
> _______________________________________________
> FX.php_List mailing list
> FX.php_List at mail.iviking.org
> http://www.iviking.org/mailman/listinfo/fx.php_list
>


More information about the FX.php_List mailing list