Captcha Stability

2 posts, 0 answers
  1. Mostafa Fawzy
    Mostafa Fawzy avatar
    1 posts
    Member since:
    Nov 2009

    Posted 31 Jul 2013 Link to this post

    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");
  2. Slav
    Admin
    Slav avatar
    1356 posts

    Posted 02 Aug 2013 Link to this post

    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.
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top