验证码控制问题 [英] Captcha Control Problem

查看:87
本文介绍了验证码控制问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

先生
我正在使用vs2008.我在aspx页面中使用验证码控件.我的问题是该页面回发了多少次,正在生成新的验证码.我想将代码绑定一次,而我需要的是用户何时会假装新的验证码按钮代码将刷新.我想要该代码.plz向我提供代码.
谢谢

Sir
I m using vs 2008. I m using captcha control in aspx page.my problem is that how many times the page is postsback,the new captcha codes are generating.I want to bind the code once and my need is when a user will prees the new captcha button code will be refreshed.I want the code for it.plz provide me the code..
Thanks

推荐答案

只引用波纹管链接.可能对您有帮助...

[ ^ ]

用于ASP.NET的CAPTCHA服务器控件 [ http://forums.asp.net/t/1500040.aspx/1?CAPTCHA + Image + Implementation + in + ASP + NET + Codebehind + C + [
Just refer bellow link. It may help you...

[^]

A CAPTCHA Server Control for ASP.NET[^]

http://forums.asp.net/t/1500040.aspx/1?CAPTCHA+Image+Implementation+in+ASP+NET+Codebehind+C+[^]


这是您什么要吗?
http://www.google.com/recaptcha [
Is this what you want?
http://www.google.com/recaptcha[^]




这里" m证明了一些用于生成capthca图像的代码.

通过使用此代码,我们可以生成capthca图像.因此,我们可以在需要时加载新的capthca图像.如果将生成代码放置在pageload中,条件为in. >
Hi,

here ''m proving some code for generating capthca image.

By using this code we can generate capthca image.So,we can load new capthca image when ever we want.If you place generate code in pageload with in below if condition .The capthca image loads only once at pageload not in postback

 if(!IsPostBack)
{
   //place captcha generation code or call that method
}



我希望你能理解我说的话.

最好的



I hope you understood what I said.

All the Best


这篇关于验证码控制问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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