ReCaptcha:无法让它在使用 Web 服务的现有模式对话框中工作
社区 -
我在这个问题上被困了几天,决定使用 iFrame 解决方案和常规嵌入页面,其中带有基本的 reCaptcha 插件,在服务器功能上使用 Page.IsValid {}。
基本上,我有一个较旧的 WebForm ASP.NET 2.0 客户端网站,其中使用对 MailSend WebService 的 Ajax/JSON 调用来实现模态对话框,现在集成希望在模态对话框中具有 reCaptcha 功能的客户端会很痛苦。
经过几次尝试一些基本代码以及网络上几个博客上未完成的代码片段后,我确实放弃了 - 我去创建一个单独的页面,其中包含定期发送给朋友的邮件表单,并使用 jQuery 从父页面调用它在 iFrame 中。
是否有人在没有回发或不使用 iFrame 方式的情况下在模式对话框中使用 reCaptcha 验证 Web 服务更幸运?
我很感激任何想法。
马丁
Community -
I'm stuck for couple days on this and decide to go with a iFrame solution and a regular embedded page with a basic reCaptcha plugin using a Page.IsValid {} on the server functionality.
Basiccaly I have an older WebForm ASP.NET 2.0 clients website with a Modal Dialog implemented using a Ajax/JSON call to a MailSend WebService and now integrating a clients wish having a reCaptcha functionality within the modal dialog gets a pain.
After several trials with some basic code and all over not completed code pieces on several blogs around the net I do give up - I go to create a separate page with a regular send to friend mail form and will call it from the parent page with jQuery in a iFrame.
Did anyone had some more luck consuming a reCaptcha Validate Web Service within a modal dialog without a Postback or without using the iFrame way?
I'm thankful for any idea.
Martin
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
好的。我和我的同事放弃了通过网络服务验证重新验证码。我们使用 iFrame 和 jQuery FancyBox 模式对话框解决方案完成了任务。它解决了我们的问题,而且看起来不错。但我稍后会回来进行研究并尝试第一种方法来解决。
Allright. Me and my co-worker gave up on validate re-captcha thru web service. We finished the task with a iFrame and a jQuery FancyBox modal dialog solution. It solved our problem and it looks good. But I will come back to do the research and try the first way to solve as well at a later point.