Dynamic Form

Brian Victor homeusenet4 at brianhv.org
Thu Sep 24 12:24:29 EDT 2009


victorsubervi wrote:
> On Wed, Sep 23, 2009 at 9:13 PM, BJ Swope <bigblueswope at gmail.com> wrote:
>> Is your web browser re-submitting the form with the same data if you
>> refresh the screen?
> yes

I'm surprised no one has mentioned this before, but the standard
approach to this problem is to redirect after a successful POST.  That
way refreshing the browser won't try to re-POST the form.

http://en.wikipedia.org/wiki/Post/Redirect/Get

-- 
Brian




More information about the Python-list mailing list