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");
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");