ReCaptcha Accepts Wrong Answers Sometimes?
Jun 17, 2010
We are using recaptcha ASP.NET control:[URL]However, we find that in some situations, recaptcha accepts answers which are clearly wrong.For example, recaptcha provided these words: of purserThe tester typed in the following: o purser ..but Page.IsValid returned true! Is this a known issue with recaptcha?
View 1 Replies
Similar Messages:
Aug 1, 2010
I have a weird thing happening. I have two identical databases installed on one virtual machine but under two different instances of SQLServer. For some reason, periodically when saving from one it will save to the other instead. Using debug, I have verified that the connection string is correct and when the item saves, it still saves to the wrong database.I use session variable, and am of the belief that it might have something to do with it...and t hat when I go from one to the other it is still getting the connection string form the other for some reason.To make sure that it isn't a problem, I make sure that I completely close out one database before opening the other in a new IE window.I assume that when I completely close out an internet explorer window that it abandons all session states. Is that true?
View 7 Replies
Aug 1, 2010
I have a very weird thing happening. I have two databases that have exactly the same tables but different database names on the same virtual machine, but in different instances of SQL Server. For some reason, when using one of them, it will save to the other. In debug, looking at my connection string..I have verified that it is correct, yet when I allow the save, I look in the table and it isn't there, it is in the other database that is in a table with a completely different name and in a different instance of SQL Server.
View 1 Replies
Dec 18, 2010
I wrote the following code to return a pdf report. The code is based on a multi-threading sample code. Can you guys provide some feedback about it, I am new to mulit-thread.
public delegate void StreamResultDelegate(Stream streamResults);
public class GenerateReport
{[code].....
View 2 Replies
May 11, 2010
I want to create a survey. I want to display the format like this:Question1
a) blah blah
b)
c)
d)
Question2
a)
b)
..
I have no clue which control to use. If I use repeater, how to bound the questions and the answers from the datasource?
View 9 Replies
Jul 4, 2010
how to write a regular expression that accepts no less than 10 digits and no more than 11. i need it to validate a textbox for phone number. i have searched the web but i cant seem to find any.
View 5 Replies
Dec 15, 2010
I want to have a stored procedure which will accept a Datatable from .NET application and the tablename and will loop thru' each record in the Datatable and insert it into the table. It will insert the bad records into a bad file. Also how to send the datatable to the proc,what kind of parameter to use.
Pls post the code for this proc.
View 3 Replies
Jan 21, 2010
We're modifying an existing ASP.NET application. We added a Terms and Conditions page with an "Accept" button that stores that choice in the user's account data. We want to prevent the user from accessing any page when the user has not accepted the Terms and Conditions.
I think we want to do this by looking up the "accepted terms" value upon login and storing it in the session. Then we need to intercept every request and check for that session value. (If it's not there, we redirect the user to the Terms and Conditions page.)
Is the PreRequestHandlerExecute method the right place to put this check? This method also gets called on requests for stylesheets and images, so it doesn't seem like it was intended for this purpose.
View 5 Replies
Feb 18, 2011
I need to create a textbox that accepts only numeric values. If the user presses a string in the textbox an alert message should be displayed.The user should not be able to type other characters Users should be displayed a instant message when character other than numeric is pressed
View 3 Replies
Jan 6, 2011
How do I implement reCaptcha in ASP.NET MVC and C#?
View 4 Replies
Nov 3, 2010
I am working a survey project. There are about 30 questions. I created two pages to sore these questions. Each page has 15 questions. When user opens page2 and then back to page1, all answers of page1 are not in page1 any more. How to keep all answers in page1 when user open page2?
View 2 Replies
Aug 30, 2010
i am trying to read file from a stream.
and i am using stream.read method to read the bytes. So the code goes like below
FileByteStream.Read(buffer, 0, outputMessage.FileByteStream.Length)
Now the above gives me error because the last parameter "outputMessage.FileByteStream.Length" returns a long type value but the method expects an integer type.
View 1 Replies
Jan 25, 2010
I am using recaptcha in an ASP.NET 3.5 application and for some odd reason the ErrorMessage property is not working. Below is my code
<recaptcha:RecaptchaControl ID="recaptcha" runat="server" PublicKey="*******************************" PrivateKey="*******************" Theme="white" ErrorMessage="This is an typo error" />
When the typed text doesn't match with the recaptcha image text it still shows the default error message "Incorrect. Try again." instead of my custom error message. What could be the reason for this strange behavior
View 1 Replies
Nov 8, 2010
I've implemented reCAPTCHA following the instructions on this site:[URL]However I am unable to get it to render on my lightbox. It renders as below when i check with firebug.
<noscript> <iframe src="http://www.google.com/recaptcha/api/noscript?k=6Lctg74SAAAAADV4UAfyRdEUdZi_FGc4PCqA7LEn" width="500" height="300" frameborder="0"> </iframe><br /><textarea name="recaptcha_challenge_field" rows="3" cols="40"></textarea><input name="recaptcha_response_field" value="manual_challenge" type="hidden" /> </noscript>
Note that when i look in firebug the < and > display as the text "& lt;" and "& gt;" (without the space)
Let me know if there's any additional information required to help with this problem.
View 1 Replies
Oct 3, 2010
I am using this this Recaptcha approach in my MVC project however it does not validate to Strict 1.0 DOCTYPE.
View 2 Replies
Jun 25, 2010
I'm implementing the recaptcha control from google.
I built a simple c# test project from their example and all works. Now, instead of having the PublicKey and PrivateKey in the aspx page, I'd rather assign these values at run time as they will most likely be pulled from either the web.config or a database table.
I tried the following in the Page_Load
protected void Page_Load(object sender, EventArgs e) {
recaptcha.PublicKey = "<deleted for obvious reasons>";
recaptcha.PrivateKey = "<ditto>";
}
but I get an error stating "reCAPTCHA needs to be configured with a public & private key."
I also tried overriding the oninit method of the page and assigning the values there, but no joy.
View 2 Replies
Dec 9, 2010
I have tried Googling and cannot come up anything that exactly answers my question.
Is there a simple way to do this that adds the image name into a database field as well as uploading the image?
I'd ideally like to do this in both the insert and edit templates.
View 4 Replies
Feb 26, 2014
I am making a online exam project i want to count the correct answers the questions and option are in datalist. Iam looping inside datalist but i want to know how to count the correct answers and display result...
View 1 Replies
Nov 3, 2010
I am working a survey project. There are about 30 questions. I created two pages to sore these questions.
View 2 Replies
Jan 13, 2010
In a two column table I have a datalist pulling questions from a sql table in one and a dropdown list showing options for people to choose in the other.It all works well.The issue I have is with the formatting, since some questions span two lines, the dropdown list does not match the questions all the time. How can I make sure the dropdown list matchs the questions?I have valign=top on both cells.Do I need to reformat the datalist? I tried putting a dropdown list in a datalist cell, but that did not work.
View 1 Replies
Sep 22, 2010
I have a CreateUserWizard where there are two plain WizardSteps, then the CreateUserWizardStep, then CompleteWizardStep. In the CreateUserWizardStep I would like to use a reCAPTCHA control. Obviously when I go to the first plain WizardStep the reCAPTCHA control is invalid. So when I click the Next button from the first WizardStep the form isn't valid and I can't progress. I'm not sure how to handle this situation.
Custom navigation template somewhere maybe?
View 1 Replies
May 17, 2010
I have a master page which contains a Login control so that the user can login/logout from any page. However, a couple of content pages require a Recaptcha control. This causes problems because when I try and log in on a page that has the Recaptcha control, the system expects me to enter the words. I'm aware of the lack of validation groups in the Recaptcha control, and the fact that you can't have multiple forms on an ASP.NET page. Is there a way to work around this? A 'hacky' way I can think of, is in the "Login" event, check the page for a Recaptcha control. If one exists, then disable it, otherwise continue. However, that just seems quite inefficient especially when there are quite a few pages and most won't have a Recaptcha control.
View 4 Replies
Mar 30, 2010
The reCaptcha example for ASP.NET does not seem to work. I followed the instructions but it always returns false, "The verification words are incorrect.". The entries are good. I'm using localhost as the site but am not getting any public/private key errors which I did get when adding a bad key (as a test).I've seen this error reported a lot but no good answers. Some suggest to call the validate on the control before checking to see if it is valid but this did not work for me.
View 2 Replies
Dec 13, 2010
I'm using ASP.NET plugin for reCAPTCHA in my ASP.NET MVC application. Recaptcha assembly version is 1.0.4.0. Is there a way to set language to be used for RecaptchaControl?
var captchaControl = new Recaptcha.RecaptchaControl
{
ID = "recaptcha",
[code]....
View 2 Replies
Dec 6, 2010
I'm trying to integrate recaptcha into a contact us form but can't get it to work. The email is sent whether or not I type in the captcha text. When I type the word into the box incorrectly it still goes out and I don't get a message to say it that it was wrong either.
[Code]....
[Code]....
View 3 Replies