This is a migrated thread and some comments may be shown as answers.

Captcha Stability

1 Answer 46 Views
Captcha
This is a migrated thread and some comments may be shown as answers.
Mostafa Fawzy
Top achievements
Rank 2
Mostafa Fawzy asked on 31 Jul 2013, 12:08 PM
i have used in my project telerik captcha in the login page,
In some times when i type the characters from the captcha image in to text box it is telling "The code you typed is in correct" even i typed correctly.  when i restart IIS it works fine and the same patter appears again after few days.
So please can any one help me.

Markup
-----------------
   <div class="captcha">
                <telerik:RadCaptcha ID="RadCaptcha1" runat="server" CaptchaTextBoxLabel="Please type the code from the image"
                    IgnoreCase="true" CaptchaTextBoxLabelCssClass="captchaLabel" EnableRefreshImage="False"
                    CaptchaLinkButtonText="Refresh" ValidatedTextBoxID="txtCaptcha" CaptchaImage-RenderImageOnly="True">
                    <CaptchaImage BackgroundNoise="Medium" TextLength="5" LineNoise="Medium" TextChars="CustomCharSet"
                        CharSet="abcdefghijkmnpqrstuvwxyz123456789" />
                </telerik:RadCaptcha>
                <div class="captchatextBox">
                    <telerik:RadTextBox ID="txtCaptcha" runat="server" Width="180px" Height="30px" MaxLength="5">
                    </telerik:RadTextBox>
                </div>
                <div class="captchaLabel">
                    <asp:Label ID="Label1" runat="server" Text="Type code from the image" Width="230px"></asp:Label>
                </div>
            </div>


C# Code
-------------
 if (!RadCaptcha1.IsValid)
                    {
                        auditClient.AddMessage("Captcha Validation", "False");
                        lblError.Text = "Please add text on image";
                        return;
                    }
                    auditClient.AddMessage("Captcha Validation", "True");

1 Answer, 1 is accepted

Sort by
0
Slav
Telerik team
answered on 02 Aug 2013, 02:25 PM
Hi Mostafa.

I have already answered your support ticket on the matter. Please check whether the suggestions I provided there will be applicable in your scenario.

When reporting a problem in the future, I would suggest using a separate ticket/forum thread. This way the information on the case will be easier to track. That being said, let us continue our discussion in the support ticket. When there is a concrete solution for the problem you can post it here for the community.

Regards,
Slav
Telerik
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to the blog feed now.
Tags
Captcha
Asked by
Mostafa Fawzy
Top achievements
Rank 2
Answers by
Slav
Telerik team
Share this question
or