Re: Generating unique values

2001-01-02 Thread C Frederic Valone

 I just checked this out by generating a loop of 50 uuid's and found that none of the 
values are incremented  by 1 they differ in various ways although the last portion of 
the id is the same in all cases.

 Here is the list that was generated

00075D9C-F809-1A51-B7D6809AFF5FEEB7
00075E16-F809-1A51-B7D6809AFF5FEEB7
00075E7D-F809-1A51-B7D6809AFF5FEEB7
00075EE1-F809-1A51-B7D6809AFF5FEEB7
00075F44-F809-1A51-B7D6809AFF5FEEB7
00075FA6-F809-1A51-B7D6809AFF5FEEB7
00076009-F809-1A51-B7D6809AFF5FEEB7
0007606B-F809-1A51-B7D6809AFF5FEEB7
000760CD-F809-1A51-B7D6809AFF5FEEB7
00076130-F809-1A51-B7D6809AFF5FEEB7
00076192-F809-1A51-B7D6809AFF5FEEB7
000761F4-F809-1A51-B7D6809AFF5FEEB7
00076257-F809-1A51-B7D6809AFF5FEEB7
000762B9-F809-1A51-B7D6809AFF5FEEB7
0007631B-F809-1A51-B7D6809AFF5FEEB7
0007637D-F809-1A51-B7D6809AFF5FEEB7
000763DF-F809-1A51-B7D6809AFF5FEEB7
00076441-F809-1A51-B7D6809AFF5FEEB7
000764A3-F809-1A51-B7D6809AFF5FEEB7
00076505-F809-1A51-B7D6809AFF5FEEB7
00076567-F809-1A51-B7D6809AFF5FEEB7
000765C9-F809-1A51-B7D6809AFF5FEEB7
0007662B-F809-1A51-B7D6809AFF5FEEB7
0007668C-F809-1A51-B7D6809AFF5FEEB7
000766EE-F809-1A51-B7D6809AFF5FEEB7
00076750-F809-1A51-B7D6809AFF5FEEB7
000767B2-F809-1A51-B7D6809AFF5FEEB7
00076815-F809-1A51-B7D6809AFF5FEEB7
00076877-F809-1A51-B7D6809AFF5FEEB7
000768D9-F809-1A51-B7D6809AFF5FEEB7
0007693B-F809-1A51-B7D6809AFF5FEEB7
000769A0-F809-1A51-B7D6809AFF5FEEB7
00076A04-F809-1A51-B7D6809AFF5FEEB7
00076A66-F809-1A51-B7D6809AFF5FEEB7
0007B06A-F809-1A51-B7D6809AFF5FEEB7
0007B0EE-F809-1A51-B7D6809AFF5FEEB7
0007B156-F809-1A51-B7D6809AFF5FEEB7
0007B1BB-F809-1A51-B7D6809AFF5FEEB7
0007B21D-F809-1A51-B7D6809AFF5FEEB7
0007B27E-F809-1A51-B7D6809AFF5FEEB7
0007B2E0-F809-1A51-B7D6809AFF5FEEB7
0007B342-F809-1A51-B7D6809AFF5FEEB7
0007B3A3-F809-1A51-B7D6809AFF5FEEB7
0007B405-F809-1A51-B7D6809AFF5FEEB7
0007B467-F809-1A51-B7D6809AFF5FEEB7
0007B4C8-F809-1A51-B7D6809AFF5FEEB7
0007B52A-F809-1A51-B7D6809AFF5FEEB7
0007B58C-F809-1A51-B7D6809AFF5FEEB7
0007B5EE-F809-1A51-B7D6809AFF5FEEB7
0007B64F-F809-1A51-B7D6809AFF5FEEB7



 Tuesday, January 02, 2001, 6:15:41 AM, you wrote:

 J But it doesn't create values which are not easy to guess.

 J Two consecutive UUID will have similar values + 1

 J Justin

 -Original Message-
 From: listmb [mailto:[EMAIL PROTECTED]]
 Sent: Sunday, December 31, 2000 10:01 PM
 To: CF-Talk
 Subject: Re[2]: Generating unique values
 
 
 Thanks Nick,
 
 That was just what I was looking for!
 
 Best,
 WayGee
 
 
 Hello Nick,
 
 Sunday, December 31, 2000, 4:00:40 PM, you wrote:
 
 NM You can use the CreateUUID function.
 
 NM It generates a Universally Unique ID. It does contain both
 letters and numbers.
 
 NM At 03:58 PM 12/31/2000 -0500, you wrote:
 Hi,
 
 Being new to cold fusion (1 week),  can anyone let me know if there is
 a way to create unique random numbers or strings in cold fusion?
 It should not be iterative or easily guessed.
 
 
 This would help alot!
 
 --
 Best regards,
 WayGee  mailto:[EMAIL PROTECTED]
 
 
 
 
 NM
 
 J

~ Paid Sponsorship ~
Get Your Own Dedicated Win2K Server!  Instant Activation for $99/month w/Free 
Setup from SoloServer  PIII600 / 128 MB RAM / 20 GB HD / 24/7/365 Tech Support 
 Visit SoloServer, https://secure.irides.com/clientsetup.cfm.

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: Generating unique values

2001-01-02 Thread Neil Clark

Erm, isnt this to do with the fact that the id's are taken from a
combination of your NIC ID and your system clock?  The fact that the
template would have been processed in such a fraction of a second could be
the answer.

Just a thought.

N


! ---
Neil Clark
Senior Web Applications Engineer
ColdFusion / Spectra / XML
mcb digital [Allaire Premium Partner]
Tel. +44 (0)20 8941 3232
Tel. +44 (0)20 8408 8131 [Direct]
http://www.mcbdigital.com
---



~ Paid Sponsorship ~
Get Your Own Dedicated Win2K Server!  Instant Activation for $99/month w/Free 
Setup from SoloServer  PIII600 / 128 MB RAM / 20 GB HD / 24/7/365 Tech Support 
 Visit SoloServer, https://secure.irides.com/clientsetup.cfm.

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: Generating unique values

2001-01-02 Thread JustinMacCarthy

While this is true in your case , it depends on the machine being used etc.

GUIDs are created using a complicated algorithm which take several factors
into consideration. Sometimes this results in consecutive UUID (Guids) being
1 apart, other times it doesn't. It depends on the resource etc. etc.
For example if the GUID function drops its counter it has to start again at
a point that is definitely past the last one it generated.

Justin MacCarthy

-Original Message-
From: C Frederic Valone [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, January 02, 2001 3:51 PM
To: CF-Talk
Subject: Re: Generating unique values


 I just checked this out by generating a loop of 50 uuid's and
found that none of the values are incremented  by 1 they differ in
various ways although the last portion of the id is the same in all cases.

 Here is the list that was generated

00075D9C-F809-1A51-B7D6809AFF5FEEB7
00075E16-F809-1A51-B7D6809AFF5FEEB7
00075E7D-F809-1A51-B7D6809AFF5FEEB7

0007B5EE-F809-1A51-B7D6809AFF5FEEB7
0007B64F-F809-1A51-B7D6809AFF5FEEB7



 Tuesday, January 02, 2001, 6:15:41 AM, you wrote:

 J But it doesn't create values which are not easy to guess.

 J Two consecutive UUID will have similar values + 1

 J Justin


~ Paid Sponsorship ~
Get Your Own Dedicated Win2K Server!  Instant Activation for $99/month w/Free 
Setup from SoloServer  PIII600 / 128 MB RAM / 20 GB HD / 24/7/365 Tech Support 
 Visit SoloServer, https://secure.irides.com/clientsetup.cfm.

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



Re: Generating unique values

2000-12-31 Thread Nick McClure

You can use the CreateUUID function.

It generates a Universally Unique ID. It does contain both letters and numbers.

At 03:58 PM 12/31/2000 -0500, you wrote:
Hi,

Being new to cold fusion (1 week),  can anyone let me know if there is
a way to create unique random numbers or strings in cold fusion?
It should not be iterative or easily guessed.


This would help alot!

--
Best regards,
WayGee  mailto:[EMAIL PROTECTED]




~ Paid Sponsorship ~
Get Your Own Dedicated Win2K Server!  Instant Activation for $99/month w/Free 
Setup from SoloServer  PIII600 / 128 MB RAM / 20 GB HD / 24/7/365 Tech Support 
 Visit SoloServer, https://secure.irides.com/clientsetup.cfm.

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists