<cfscript>
password = "" ;
for (c=1; c le 7; c=c+1)
{password = password & chr(randRange(65,90)) ; }
password = password & randRange(1000,9999) ;
</cfscrupt>

-----Original Message-----
From: Chris Badouin [mailto:[EMAIL PROTECTED]]
Sent: Friday, 4 May 2001 02:24
To: CF-Talk
Subject: Random Password


All-

Sorry I am pressed for time today, but does any one have script for
generating random passwords?

CB
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to