in reply to How To Disable A Browser's Back Button in CGI.pm?
That said, if you don't want a form to be reposted after a user leaves it, assign a unique session id that is generated when you first give the user the form and stored as a hidden field within it. When the form is submitted, toggle this sessionid as 'done', and if the form is resubmitted, you can easily check if that session id has already been procesed or not. (Similar to other ideas already posted).
|
|---|