
April 24th, 2001, 12:05 PM
|
|
|
|
I don't think you can do that, because the form can be re-submitted by reloading/refreshing the page. IMHO, the best thing to do is on the form that processes your code, check for if a session variable exists (call it whatever you want) and if not, set it to the current timestamp. If it does exist, check how close it is to the current timestamp and if it is within your tolerance (60 seconds would be good) don't process the information, but instead return a message that indicates they cannot submit the form more than once per whatever time increment you choose. Of course, you would need to do this with server-side code, not client-side code.
__________________
 Michael
|