I converted this to a udf but it's not any faster. Not really enough processing to make a difference really.
-----Original Message----- From: Christopher Jordan [mailto:[EMAIL PROTECTED] Sent: Wednesday, December 20, 2006 4:36 PM To: CF-Talk Subject: Re: automatically generate password I've not followed this thread entirely, but if generating a good random password is still an issue, then I'd go with and idea like Bobby has stated, but I'd use a UDF and not a custom tag. As I've recently become *very* aware of, CFScript is just *way* faster than tag based code, especially for something like this. Check out CFLib.org there are two or three password generators out there. One always creates eight character passwords but is free from annoying similar looking characters like 1 and l (one and lower-case L... just in case). Another generates any length password you want, and another generates WEP keys. Here's a link to the first one I mentioned called Make Password <http://www.cflib.org/udf.cfm?ID=437>. Cheers, Chris Bobby Hartsfield wrote: > Take a look at the link I gave you... > > <CF_RANDOM_PASS LENGTH="8,20" > CHARSET="AlphaNumeric" > UCASE="Yes" > RETURNVARIABLE="pword"> > > That will generate a password between 8 and 20 characters long with numbers > and lower and uppercase letters and store it in a variable called 'pword' > (you can change it to whatever you want) > > The link again... > http://acoderslife.com/tutorials/index.cfm?act=t&cid=1&tid=2 > > copy that code and save it in a file called random_pass.cfm and put it in > your custom tag directory (or in the application root somewhere) > > -- http://www.cjordan.info ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Create robust enterprise, web RIAs. Upgrade & integrate Adobe Coldfusion MX7 with Flex 2 http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:264678 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

