asp.net MVC和Recaptcha动作 [英] asp.net mvc and recaptcha action

查看:64
本文介绍了asp.net MVC和Recaptcha动作的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当用户提交表单时,我想间歇地(基于一些自定义规则)显示/重定向到验证码页面,如果通过验证,则执行/提交第一个操作

When a user submits a form, i'd like to show/redirect to the captcha page intermittently ( based on some custom rules ) and if validated, then execute/commit the first action

是否可以使用ActionFilter做到这一点? 或其他任何方式?

Is there a way of doing this using the ActionFilter ? or any other way ?

推荐答案

这也是: http://eglasius.blogspot.com/2010/10/adding-recaptcha-to-aspnet-mvc.html

这篇关于asp.net MVC和Recaptcha动作的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆