Author: rockyy | Posted on: 6/12/2010 7:36:28 AM | Views : 262

finally i completed captcha
now i want to control the number of tries enter by the user
after putting all validation (required feild validator) on textbox


for e.g if he types the captcha three times wrong then he should be directed to errorpage.aspx
my code in this i m checking the text entered by him should match the random image which is generated

if (Page.IsValid && (TextBox1.Text.ToString() == Session["RandomStr"].ToString())) { Response.Write("Code verification Successful"); } else { Response.Write("code verify unsucess");


thank you

...

Go to the complete details ...