not amazingly efficient but will work <cfset password=""> <cfloop from="1" to="8" index="idx"> <cfif RandRange(1,2) eq 1><cfset tempChr = Chr(randRange(65,90))><cfelse><cfset tempChr = Chr(randRange(97,122))></cfif> <cfset password="#password##tempChr#"> </cfloop>
-----Original Message----- From: Balaji [mailto:[EMAIL PROTECTED]] Sent: Tuesday, 18 February 2003 12:20 PM To: CFAussie Mailing List Subject: [cfaussie] generating random passwords Hi, how to generate random strings like this.. deepalo tyygreGG Kjiolwpe suggestions pls. thanks BIm --- You are currently subscribed to cfaussie as: [EMAIL PROTECTED] To unsubscribe send a blank email to [EMAIL PROTECTED] MX Downunder AsiaPac DevCon - http://mxdu.com/ --- You are currently subscribed to cfaussie as: [email protected] To unsubscribe send a blank email to [EMAIL PROTECTED] MX Downunder AsiaPac DevCon - http://mxdu.com/
