Re: Form submit hash keys
jojodee <jojodee-8nna1qhvBBM9QQeoy3GH/[email protected]> Tue, 24 Feb 2009 03:02:11 +1030
| Newsgroups | gmane.comp.cms.xaraya.devel |
|---|---|
| Organization | Xaraya |
| Message-ID | <[email protected]> |
Hi Jason Jason wrote: > I just had a thought about these hash keys. Submitting a form twice > accidentally, or losing the hash key to a form display in another page, results > in the nasty "keys don't match and now I have thrown all your carefully-entered > data away, have a nice day" error. > > Instead, would it make sense to just redisplay the page, with the submitted data > intact, and a message to telling the user that their data was *not* submitted > and to try again? > > Something like this changeset in articles? http://mt.xaraya.com/revision/diff/51cfc95d5f41656c47dce04bee97e853a449350e/with/f310676de2a1d5d3683c66a67cc06c49c8d7fa03 Jo