[Sample Of Jan 17th] Image Verification Code for Logging in ASP.NET


Homepage image
RSS Feed

Sample Download:

CS Version: http://code.msdn.microsoft.com/CSASPNETVerificationImage-81902fa4 

VB Version: http://code.msdn.microsoft.com/VBASPNETVerificationImage-3873cacc

This sample will demo you how to create an image verification code in ASP.NET. Sometimes we may need the verification code in order to prevent malicious actions. Such as: auto registration by "Automatic-Teller Registration Machine" or the malicious password cracking. We provide a program to acquire a specified number of characters or symbols, and add some interferences with the line, and then output a picture and save the value in session. The user input content according to the display contents of the picture, and then to compare the input with the value in SESSION.  According to the results of the comparison, we will determine the follow-up operations.


You can find more code samples that demonstrate the most typical programming scenarios by using Microsoft All-In-One Code Framework Sample Browser or Sample Browser Visual Studio extension. They give you the flexibility to search samples, download samples on demand, manage the downloaded samples in a centralized place, and automatically be notified about sample updates. If it is the first time that you hear about Microsoft All-In-One Code Framework, please watch the introduction video on Microsoft Showcase, or read the introduction on our homepage http://1code.codeplex.com/.

Comments (0)

Skip to main content