try this:
<cfset chrACIIList =
"48,49,50,51,52,53,54,55,56,57,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,
80,81,82,83,84,85,86,87,88,89,90">
<cfset chrPwd = "">
<cfloop from="1" to="8" index="thisCharacter">
<cfset chrPwd = chrPwd & Chr(ListGetAt(chrACIIList, RandRange(1,
ListLen(chrACIIList))))>
</cfloop>
<cfoutput>#chrPwd#</cfoutput>
HTH,
Duane
-----Original Message-----
From: Andrew@home [mailto:[EMAIL PROTECTED]]
Sent: Friday, February 16, 2001 10:05 AM
To: CF-Talk
Subject: Randomized Passwords
Hello All:
Does any one of you CF experts out there (as I am a real newbie)
know how to create a random password string, for 8 characters?
Is there a tag out there to use? Is there a simple, known, CFRANDOM
function or something? I would imagine this has been done before.
Thanks All!
Cheers,
Andrew Richardson
[EMAIL PROTECTED]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at
http://www.fusionauthority.com/bkinfo.cfm
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists