The captcha is working fine..but when we reload the page and click the verify button without entering enything..it's throwing error. Also it's throwing the error when we enter the code wrong 2 times..It's throwing the error as
Object reference not set to an instance of an object.
Exception Details: System.NullReferenceException: Object reference not set to an instance of an object.
Line 15:protected void btnVerify_Click(object sender, EventArgs e)
Line 15: {
Line 16: Captcha1.ValidateCaptcha(txtCaptcha.Text.Trim());
Line 17:
Line 18: if (Captcha1.UserValidated)
i had created a captcha coz by reffering a blog http://nanddeepnachan.blogspot.com/2008/06/captcha-for-sharepoint-blog.html. its successfully can run after i deploy it.
I created a feedbackForm in aspx, then add the captcha web part. the captcha appeared in feedbackForm, but the problem is the data tat i added in feedbackForm cant insert in sharepoint list...
i had created a aspx page..Feedback and i had created the captcha coding... both i created in different folder...i wanna link the Feedback form with the captcha... -wen i want send the feedback, i have to write the captcha...after tat only can send.. how to link the form n captcha??
I would like to do the validation work using javascript or jquery in onclientclick and then show blockUI, next page using server click. But, I have a captcha validation in server click and I don't know how to validate the captcha in jquery or javascript.
protected void btnRegister_Click(object sender, EventArgs e) { lblMessage.Text = ""; if (Page.IsValid) { if (txtUserName.Text == "") { lblMessage.Text = "نام کاربری را وارد نمائید"; txtUserName.Focus(); return; } if (!BLL.IsStrictPassword(txtPassword.Text)) { lblMessage.Text = "طول کلمه عبور حداقل باید 5 کاراکتر باشد"; txtPassword.Focus(); return; } if (ddlYear.Text == "<سال>" || ddlMonth.Text == "<ماه>" || ddlDay.Text == "<روز>") { lblMessage.Text = "لطفا تاریخ تولدتان را وارد نمائید"; return; } if (!chk_Low.Checked) { lblMessage.Text = "برای عضویت می بایست قوانین سایت را بپذیرید"; return; } if (txtSecurityCode.Text == String.Empty) { .Text = "کد امنیتی را وارد نکرده اید"; txtSecurityCode.Focus(); return; } secCode.ValidateCaptcha(txtSecurityCode.Text); if (!secCode.UserValidated) { lblMessage.Text = "کد امنیتی نادرست وارد شده است"; return; } try { //some code } }
how you have implemented mathematics type captcha in comments sections in URL...I like to implement this type of captcha security, its more clean and user friendly.
if user attempts to sign in, but they get the sign in wrong twice (say within a 5 minute period), then automatically show the Captcha and require them to enter Captch correctly before processing their next (third) sign in attempt.
I want to create a simple user registration form with First / Last name, email, and password. We have used captcha and email verification in the past to ward off bots, but is there another way without using those techniques? I thought about encrypting the field ID names so that they aren't names username, password, etc. we tried openID, but 1% of our users had an ID they could use.
I am integrating a Captcha control inside a CreateUserWizard. As I wanted to do a validation for user's input based on the Captcha using an if.. else.. statement. However an error occured when I trying to get the Captcha control from the createuserwizard. Here the is error : The name 'Captcha1' does not exist in the current context.I had tried to get this control as a textbox, image, control but it was not successful. Here is the code :
I am using the ASPNET_Captcha control for my login page. It works fine. However when i implement the forms authentication, the catcha image does not appear.
Do i need the location section in the web.config file? If yes can you share the details for the same.
I have a blank page with a Captcha called Captcha.aspx. I would like to add this as the second step to a CreateUserwizard. The following is what I want to achieve:i) User enters their Username etc in CreateUserwizard and clicks the CreateUser Button(ii) After clicking the CreateUser button, user sees the Captcha.aspx page and enters the correct stuff in the Captcha box and click a continue button(iii) User account is created if correct details were entered in the Captcha else no account is created, rather the user is sent to a page informing him or her that no account has been created
I'm implementing captcha on my website like the one in [URL]. It is working fine while running on VS2008. However, not when uploaded on IIS. I think the image is being blocked by IIS.. anyone knows how to fix this?
I am developing a website where I need a captcha control and I want to develop the captcha control itself, so in the future I can change its length, type, color, and have it be easy to manage as well.
So, suggest me which technology used for to develop the capha control and how.
I am using asp.net platform with vb.net as the language.
I could really use some help here. I owuld like to implement a simple CAPTCHA mechanism with the membership system. Can someone please help me out. I have found MSCAPTCHA, but it doesn't seem to work in the .NET 3.5 world. I have been pulling my hair out for a couple of days now.