Unique value creation

This WebDNA talk-list message is from

1999


It keeps the original formatting.
numero = 23237
interpreted = N
texte = I can use the number of days/hours/mins/secs in some form or other to create a *nearly* unique identifier number for each user, but how do I create a truly unique value for two people who access the site during the exact same second in time?It seems both of these users will have the exact same value, so it won't be unique -- unless I tack on some kind of sequential index number that simply cannot be re-used again during the same second in time, even by another user.Using [random] won't work because there's a chance that the same random number might come up again, and this solution has to guarantee *absolute* uniqueness no matter what.How does the [cart] tag do it? Maybe I can use a similar technique. The result must be no more than 12 characters in length, thus the reason I cannot use the [cart] tag in this situation ...Sincerely, Ken Grome Associated Messages, from the most recent to the oldest:

    
  1. Unique value creation (Kenneth Grome 1999)
  2. Re: Unique value creation (Marty Schmid 1999)
I can use the number of days/hours/mins/secs in some form or other to create a *nearly* unique identifier number for each user, but how do I create a truly unique value for two people who access the site during the exact same second in time?It seems both of these users will have the exact same value, so it won't be unique -- unless I tack on some kind of sequential index number that simply cannot be re-used again during the same second in time, even by another user.Using [random] won't work because there's a chance that the same random number might come up again, and this solution has to guarantee *absolute* uniqueness no matter what.How does the [cart] tag do it? Maybe I can use a similar technique. The result must be no more than 12 characters in length, thus the reason I cannot use the [cart] tag in this situation ...Sincerely, Ken Grome Kenneth Grome

DOWNLOAD WEBDNA NOW!

Top Articles:

Talk List

The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...

Related Readings:

[WebDNA] v.7 and eCommerce (2012) PIXO Support (1997) WebCatalog seems to choke on large (2meg) html files. (1998) Separate server for jpg/gif files (1998) Multiple catalog databases and showcart (1997) Include a big block of text (1997) remove line item (2000) WebCatalog2 Feature Feedback (1996) Help! WebCat2 bug (1997) Exclamation point (1997) 5.0 Pricing (2003) WebCat name recognition (1998) UPS Shipping Docs (Where To Go) (1999) ConverChars (1999) America Online Issues (1998) Date search - yes or no (1997) How to Display text in empty fields (1997) Using the sendmail command on CGate Pro (Unix) (2000) Multiple download orders of the same product? (1997) WebCat2b15MacPlugIn - [authenticate] not [protect] (1997)