Captcha Control
17 June 2008 Tips  Marek Sienkiewicz
Captcha Image
Recently the site has been having problems with the Captcha control. The use of the Captcha for say a contact form greatly eliminates spam by presenting the user with a challenge and response test, the idea being that only humans can pass the test.
 
Unfortunately my Captcha wasn't working too well. Despite the correct code being entered a message was displayed informing the user to try again. It appeared to be a postback problem, which was resolved  by removing some data access code  from the the Page_Load event in the code behind of the Master page and placing it in the Page_PreRender event in the code behind.
 
This seems to have done the trick, my Captcha control is finally working!



Small Comment Icon This shows that the Captcha is working.
Comment posted by  Marek: on  17 June 2008


Please post your comments:

Name

Email
                           

   

Enter the text you see in the box:

Captcha Image