Re: Form submit hash keys

Jason <[email protected]> Mon, 23 Feb 2009 16:46:55 +0000
Newsgroups gmane.comp.cms.xaraya.devel
Organization Xaraya
Message-ID <[email protected]>
jojodee wrote:
> 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

Nice - spot on. Yes, that is exactly what I mean.