i should have checked the docs..
"time-of-day value, the IEEE 802 Host ID, and a cryptographically strong random number generator"
Ricardo.
James Macpherson wrote:
I'm pretty sure that the UUID algorithm does use the Mac address as it's reasonably unique (they're meant to be but you can change them with some modern hardware...) - the idea is to use a selection of non random but unique attributes of a machine to generate it so that it's mathematically very, VERY unlikely that two machines will ever create the same UUIDs, or one machine will create the same UUID twice. The idea being that you can have two databases using them as keys and merge them later and encounter no duplicates, or have multiple coldfusion servers generating UUIDs for the one database with no conflicts etc.
I'm less sure, but it would also make sense, that if you create a UUID in ColdFusion to insert into a database of UUIDs created by the SQL application you also will not get conflicts.
I know it was a joke, but the tick count from any given time is no good because it's quite likely that two coldfusion servers accessing the same database would try insert the same UUID.
I had some links somewhere, but I think even the coldfusion manual explains the UUID somewhere...
Regards,
James
-----Original Message----- From: Elliot Russo [mailto:[EMAIL PROTECTED] Sent: Wednesday, 28 July 2004 11:21 AM To: CFAussie Mailing List Subject: [cfaussie] Re: UUID Creation.
I am led to believe it is based in part on the Mac address of your network
adapter which is meant to be universally unique...but that may be bull, or
only relevavnt to MS GUID which are similiar
Elliot "Ricardo Russon" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED]
Can anyone explain to me how a UUID is created?
what does each part of it mean? I can tell that there is a definite pattern, which has sparked my interest.
Pointless technical question really, but does anyone know?
Thanks.
Ricardo.
---
You are currently subscribed to cfaussie as: [EMAIL PROTECTED]
To unsubscribe send a blank email to [EMAIL PROTECTED]
Aussie Macromedia Developers: http://lists.daemon.com.au/
--- You are currently subscribed to cfaussie as: [EMAIL PROTECTED] To unsubscribe send a blank email to [EMAIL PROTECTED] Aussie Macromedia Developers: http://lists.daemon.com.au/
