<form name='testForm' method='post' action='mycode.asp' onsubmit='return
<input type='text' name='info' size='30'>
At 20:48 04/01/02 +0000, you wrote:
>I have a site that depends on the integrity of the data submitted to it.
>This site is
>going to go live very soon and I have found a really annoying problem.
>The FORM: User answers a question and SUBMITS using Method="POST"
>The question is marked and the answer is added to their personal log (TABLE)
>This is easy to do BUT !!
>If you continually press the submit button then the score is continually
>added to the log,
>thus making the data useless.
>As the user can only answer one question once, I decided to include:
>If questionID=(The questionID in a cookie) Then
> Redirect the page to the question page, and answer another question
> Make the questionID(Cookie) equal to questionID
>End the If
>I thought this would work, but it doesn't. I also can't find a way of
>emptying the FORM
>collection, once the data has been accepted once in ASP.
>I have also tried to think of a way to include an reset string in
>insert into Onsubmit, or into OnUnLoad
>Change your mail options at http://p2p.wrox.com/manager.asp or to
>unsubscribe send a blank email to $subst('Email.Unsub').