I'm working on asp.net web application where I need to use CAPTCHA to test input enter into textbox please let me know very simple way to implement CAPTCHA in asp.net.
Asked
Active
Viewed 784 times
0
-
2what have you tried? there are numerous samples of how to integrate this - people wont just do your work for you – stack72 Aug 18 '11 at 10:08
-
1[Possible duplicate?](http://stackoverflow.com/questions/696398/what-is-the-best-recomended-captcha-component-for-asp-net) – Sumo Aug 18 '11 at 10:14
2 Answers
1
Simple Google search returns this article:
http://www.codeproject.com/KB/custom-controls/CaptchaControl.aspx
I'd recommend working through this tutorial, then if you have any problems, then ask questions. Like @Stack72 has stated, people won't just do it all for you, but will help if you get stuck!

Curtis
- 101,612
- 66
- 270
- 352
1
Create a handler (ashx).
Generate a random string, save that string into session, then use GDI+ to draw an image and sent it to response with content type is image/...
On captcha validation, load previous string from session and do the comparison.

Tu Tran
- 1,957
- 1
- 27
- 50