返回首页

hiiii ...

我在网站上使用的CAPTCHA
captcha图像的话后没有主机网站上相同的工作,同时运行。净编译。
什么WUD有其他的变化,可以帮助从这个

webconfig......................

 

<httpHandlers>

            <add verb="GET"  path="CaptchaImage.axd" type="MSCaptcha.captchaImageHandler"/>

        </httpHandlers>

-

 

design aspx file..................

 

<cc1:CaptchaControl ID="ccJoin" runat="server" CaptchaBackgroundNoise="none" CaptchaLength="6"

                                                                            CaptchaHeight="40" CaptchaWidth="200" CaptchaMinTimeout="5"

                                                                            CaptchaMaxTimeout="200"

                                                                            width="85%" Arithmetic="False" BorderStyle="Solid" BorderWidth="2px"

                                                                            CaptchaChars="012346789" Height="51px"/>

 



....................................................................................................................................................................

 code behind.............

 



  protected void btn_submit_Click(object sender, EventArgs e)

    {

        ccJoin.ValidateCaptcha(txt_captcha.Text);

        if (!ccJoin.UserValidated)

        {

            //Inform user that his input was wrong ...

            return;

        }

        else

            Response.Redirect("portal_EndUserMenu_do-screen_viewStatNext.aspx");

    }

回答

评论会员: 时间:2
e