Re: [cart]'s ever get recycled?
This WebDNA talk-list message is from 2000
It keeps the original formatting.
numero = 31695
interpreted = N
texte = SM (or anyone) can you *guarantee* that if I use cart numbers for a few hundredthousand recordIDs that in 10 years+ there will be no chance that when an admin createsa new record and goes to assign its ID that the [cart] will not load a duplicate thatwas used before?-JohnKenneth Grome wrote:> >How does WebCat generate cart numbers?>> Something to do with the date, time, and an index value that's> generated internally by webcat. Please note, this is NOT the method> they use, but I think it's something similar, based on the info I've> received from Grant over the years -- and something like this would> explain the fact that the cart values can vary in length from 10-15> digits (more or less):>> 1- An algorithm creates a date value from today's date, such as> 2000130 (year 2000, 130th day of the year).>> 2- Another algorithm creates a time value from the current time, such> as 13272 (13,272nd second of the day).>> 3- An index value is created if two cart values are generated during> this particular second in time, such as 4 (4th new cart value created> this second).>> 4- The three strings above are appended: 2000130132724>> ================================> Kenneth Grome, WebDNA Consultant> 808-737-6499 http://webdna.net> ================================>> --------------------------------------------------------------This message is sent to you because you are subscribed to the mailing list
.To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://search.smithmicro.com/
Associated Messages, from the most recent to the oldest:
SM (or anyone) can you *guarantee* that if I use cart numbers for a few hundredthousand recordIDs that in 10 years+ there will be no chance that when an admin createsa new record and goes to assign its ID that the [cart] will not load a duplicate thatwas used before?-JohnKenneth Grome wrote:> >How does WebCat generate cart numbers?>> Something to do with the date, time, and an index value that's> generated internally by webcat. Please note, this is NOT the method> they use, but I think it's something similar, based on the info I've> received from Grant over the years -- and something like this would> explain the fact that the cart values can vary in length from 10-15> digits (more or less):>> 1- An algorithm creates a date value from today's date, such as> 2000130 (year 2000, 130th day of the year).>> 2- Another algorithm creates a time value from the current time, such> as 13272 (13,272nd second of the day).>> 3- An index value is created if two cart values are generated during> this particular second in time, such as 4 (4th new cart value created> this second).>> 4- The three strings above are appended: 2000130132724>> ================================> Kenneth Grome, WebDNA Consultant> 808-737-6499 http://webdna.net> ================================>> --------------------------------------------------------------This message is sent to you because you are subscribed to the mailing list .To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://search.smithmicro.com/
John Butler
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:
Autocompletion and BBEdit (2002)
WebCatalog f2 Installation (1997)
E-Mail (1998)
SKU lookup (1997)
Country & Ship-to address & other fields ? (1997)
Carts in Admin folder? (1999)
Non expiring cookies again (*sorry*) (1999)
customizing the color of user's pages (1997)
WebCat2b13 Mac plugin - [sendmail] and checkboxes (1997)
RE: creating writefile data from a nested search (1997)
searching multiple databases (1997)
Time sort - Flushdatabases (2000)
[WebDNA] [announce] CICADA Gold Products (2009)
problems with 2 tags shakur (1997)
Error:Too many nested [xxx] contexts (1997)
Need relative path explanation (1997)
template security preferences????? (1998)
Bug Report, maybe (1997)
Word search (1997)
[OT] Test - THE ANSWER (2003)