you could use the RandRange function which will return a random integer
between 2 specified integers

example:

<cfset RandomPass = RandRange("1","99,999,999")> - NOTE: number must me less
than 100,000,000

-chris.alvarado
[developer] - VerticalNet


-----Original Message-----
From: Andrew@home [mailto:[EMAIL PROTECTED]]
Sent: Friday, February 16, 2001 9: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/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to