<%@ language="JScript" %> DeKalb School of The Arts Election 2004

demonstrations

datafill.asp





We had to devise a way to input 400 or so random passwords into the database, to be used to secure the survey application from unauthorized voters. Rather than tediously inserting 5-character combinations manually, we wrote this "datafill" script that automatically generates and inserts a determinable number of codes of a determinable number of characters. It was important that we screen the allowable characters -- some, such as "O", "0", and "I", are easily confusable, especially in small print. Thus, these and others were removed from array that contains the characters the rest of the script chooses from randomly. After the numbers were inputted, we printed them from MS Access in a business-card layout. These were then distributed to the voters. View Annotated Source || View Application Demo || Return to Demos