To validate the captcha we need to save the random text written to the captcha image somewhere and then check it at the form submission time.
为了对验证码进行检验,我们需要将验证码中的文本保存起来,然后在提交的时候进行检查是否一致。
For example, if we choose to do screen-by-screen validation (instead of the current single validation at submission time) we'll have to add a transaction per validation.
例如,如果我们选择作屏幕到屏幕的确认(代替当前在提交时的单一确认),我们必须在每一步确认时添加一个事务处理。
应用推荐