No, because with winNT it seems to create truly random-looking
strings. This very thread came up last year.  Alan McCollough
put together a replacement tag if your server does incremental
UUID's like what you saw, and you don't like it.  I don't think
it's a big deal unless you don't want people guessing those 
values in your DB.

-Erik

> -----Original Message-----
> From: Emilio [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, June 05, 2001 11:02 PM
> To: Fusebox
> Subject: RE: Unique Random Numbers
> 
> 
> 
> >is there a problem with the createUUID() function in cf?
> 
> Hi Ken,
> On win 98 that function seems to generate non-random results.
> 
> Run this code on a Win98,
> 
> <cfoutput>
>       <cfloop index="theUUID" from="1" to="15" step="1">
>               #CreateUUID()#
>       </cfloop>
> </cfoutput>
> 
> 
>  I got these:
> 
> Output of 15 CreateUUID() calls on Win98 
> 0BBAE928-5A06-11D5-99030060672D598B  
> 0BBAE929-5A06-11D5-99030060672D598B  
> 0BBAE92A-5A06-11D5-99030060672D598B  
> 0BBAE92B-5A06-11D5-99030060672D598B  
> 0BBAE92C-5A06-11D5-99030060672D598B  
> 0BBAE92D-5A06-11D5-99030060672D598B  
> 0BBAE92E-5A06-11D5-99030060672D598B  
> 0BBAE92F-5A06-11D5-99030060672D598B  
> 0BBAE930-5A06-11D5-99030060672D598B  
> 0BBAE931-5A06-11D5-99030060672D598B  
> 0BBAE932-5A06-11D5-99030060672D598B  
> 0BBAE933-5A06-11D5-99030060672D598B  
> 0BBAE934-5A06-11D5-99030060672D598B  
> 0BBAE935-5A06-11D5-99030060672D598B  
> 0BBAE936-5A06-11D5-99030060672D598B
> 
> Is this a bad thing though?
> 
> Cheers,
> Emilio
> 
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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

Reply via email to