You could always just use SQL to generate the string automaticall in the
relevant row via say an SP or SQL UDF.






"This e-mail is from Reed Exhibitions (Gateway House, 28 The Quadrant,
Richmond, Surrey, TW9 1DN, United Kingdom), a division of Reed Business,
Registered in England, Number 678540.  It contains information which is
confidential and may also be privileged.  It is for the exclusive use of the
intended recipient(s).  If you are not the intended recipient(s) please note
that any form of distribution, copying or use of this communication or the
information in it is strictly prohibited and may be unlawful.  If you have
received this communication in error please return it to the sender or call
our switchboard on +44 (0) 20 89107910.  The opinions expressed within this
communication are not necessarily those expressed by Reed Exhibitions." 
Visit our website at http://www.reedexpo.com

-----Original Message-----
From: Bobby Hartsfield
To: CF-Talk
Sent: Thu Dec 21 00:18:35 2006
Subject: RE: automatically generate password

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)
>
>   

-- 







~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
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:264695
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to