posted 22 years ago
How about this: instead of letting your form be submitted using an <INPUT TYPE=SUBMIT>, create a normal button with an event handler that does some stuff and then calls submit. Then you can have your function check for the existence of a cookie. If it finds the cookie, don't allow a resubmit. If it doesn't, then it writes the cookie and submits the form. Like this: