[thelist] Submitting contents of form only once

Bailey, Dan DBailey at digitalinsurance.com
Fri Jan 5 14:22:11 CST 2001


Have the form point to an ASP file.  Have that ASP file check for the
existence of a cookie -- if it doesn't exist, then set that cookie and
process the form data.  If it does exist, don't do anything.

-----------------------------------------
Dan Bailey
Content Engineer
Digital Insurance
dbailey at digitalinsurance.com
(610)-278-5471
When your only tool is a hammer, everything starts to look like a nail.



-----Original Message-----
From: Ben Gustafson [mailto:ben_gustafson at lionbridge.com]
Sent: Friday, January 05, 2001 2:22 PM
To: thelist at lists.evolt.org
Subject: [thelist] Submitting contents of form only once


Does anyone know an easy way, using JavaScript and/or ASP, to make a form be
submitted only the first time a user clicks the Submit button? I'm doing a
simple database insert with the contents of a form, and since it's a long
form, users have a tendency to click the Submit button a few times.

Thanks in advance for your help,

--Ben Gustafson


---------------------------------------
For unsubscribe and other options, including
the Tip Harvester and archive of TheList go to:
http://lists.evolt.org Workers of the Web, evolt ! 




More information about the thelist mailing list