Let''s say you have a website and contains a membership process. But you do not want visitor to type his/her own password and want to create a temporary password for new member. You may add following function to generate a random password.
This sample code presents three different ways to show a random image in ASP, each approach illustrated and explained. Source code available for download.