Skip to Main Content
Programming ColdFusion MX, 2nd Edition
book

Programming ColdFusion MX, 2nd Edition

by Rob Brooks-Bilson
August 2003
Intermediate to advanced content levelIntermediate to advanced
1140 pages
68h 45m
English
O'Reilly Media, Inc.
Content preview from Programming ColdFusion MX, 2nd Edition

Name

CreateUUID

Synopsis

                  
                  
                  CreateUUID( )

Creates a universally unique identifier (UUID). UUIDs are 35-character representations of 128-bit strings, where each character is a hexadecimal value in the range 0-9 and A-F. UUIDs are used when you need to create a unique identifier (such as a user ID or primary key value). UUIDs are guaranteed to be unique and are assigned randomly on most operating systems. Note that the format that ColdFusion uses for UUIDs is not the same format used by Microsoft and DCE. ColdFusion UUIDs follow the format xxxxxxxx-xxxx-xxxx-xxxxxxxxxxxxxxxx whereas Microsoft/DCE UUIDs are formatted as xxxxxxxx-xxxx-xxxx-xxxxxx-xxxxxxxxxx. If you need a UUID that follows the Microsoft/DCE format, see the CreateGUID( ) UDF available at http://www.cflib.org. Example:

Here is your UUID:  <cfoutput>#CreateUUID( )#</cfoutput>.
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Programming ColdFusion

Programming ColdFusion

Rob Brooks-Bilson

Publisher Resources

ISBN: 0596003803Supplemental ContentErrata Page