I've used something like that too, wanting to keep it a consistent number
of digits (and you should seed the random with something prior):
<CFSET RandPassword = RandRange(100000,999999)>
> Here's one I use to create a random numeric password...
> <CFSET RandPassword = "#RandRange(0,99999999)#">
>
> hth
>
> -----Original Message-----
> From: Chris Badouin [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, May 03, 2001 11:24 AM
> 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/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists