[Home]Submit just once

HomePage | RecentChanges | Preferences | Newbie Help

Category HTML Forms -:- [Category JavaScript FAQ]?

I'm sure this is a FAQ, so here's the FAR (frequently answered response):

Put a hidden field in the form, uniquely generated. When the response comes back, check the hidden field against the list of previously processed forms. If it's not there, process the form and put it there. If it's there, ignore the form with a big "DON'T HIT RELOAD" warning, or return what you returned last time.

-- Randal L. Schwartz - On 16 Apr 2001, on comp.infosystems.www.authoring.html

Comments --
HomePage | RecentChanges | Preferences | Newbie Help
This page is read-only | View other revisions
Last edited January 9, 2002 7:52 am (diff)

This FAQ is happily hosted by Betadome Digital Media