Re: preventing duplicate data entry on RELOAD

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance

From: Darrel (notreal_at_nospam.com)
Date: 12/06/04


Date: Mon, 6 Dec 2004 08:24:53 -0600


> I'm not sure of your situation.

I have a page with two panels. One panel is the form. One panel is the
'success' confirmation.

On completion of a succesful submit, I hid the form panel and show the
success panel.

When a person reloads the page, though, it resubmits the data. I was
confused because the data is only submitted via the button_click
function...not the page_load function.

However, I think simply adding a flag on submit is the way to go...but yea,
it looks like a roundtrip to the server.

I suppose redirectly to another page is perhaps a better idea. However, I
have dozens of these submit/confirm combo pages so that may have to get put
off and added to the bottom of the to-do list.

-Darrel



Relevant Pages