One way would be to set the expires header of the generated script to the time the page was generated and hope the browser does the right thing. A better solution is probably adding a unique value in a hidden field every time the page is generated. When an item is submitted log that unique key as having been used. If a user tries to submit again with the used key short circuit the process.
vroom | Tim Vroom |
vroom@cs.hope.edu