Re: [cart]'s ever get recycled?
This WebDNA talk-list message is from 2000
It keeps the original formatting.
numero = 31724
interpreted = N
texte = >SM (or anyone) can you *guarantee* that if I use cart numbers for a >few hundred>thousand recordIDs that in 10 years+ there will be no chance that >when an admin creates>a new record and goes to assign its ID that the [cart] will not load >a duplicate that>was used before?John, no one but you can 'guarantee' that your computer clock will never be set back.If that happens, it is possible (but extremely unlikely) to get a cart value that has previously been generated. So even if SM could guarantee that the cart tag would not create a duplicate value on its own, they cannot control your computer clock.If you're that concerned about getting an absolutely unique value every time, why don't you use a database to store the last number used as a unique value, and increment it by one each time someone new visits the site? You won't be able to use the [cart] tag if you do this, so you won't have to be concerned about whether or not the [cart] tag is going to give you what you want, because you'll be dealing with that yourself ... :)================================Kenneth Grome, WebDNA Consultant808-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 hundred>thousand recordIDs that in 10 years+ there will be no chance that >when an admin creates>a new record and goes to assign its ID that the [cart] will not load >a duplicate that>was used before?John, no one but you can 'guarantee' that your computer clock will never be set back.If that happens, it is possible (but extremely unlikely) to get a cart value that has previously been generated. So even if SM could guarantee that the cart tag would not create a duplicate value on its own, they cannot control your computer clock.If you're that concerned about getting an absolutely unique value every time, why don't you use a database to store the last number used as a unique value, and increment it by one each time someone new visits the site? You won't be able to use the [cart] tag if you do this, so you won't have to be concerned about whether or not the [cart] tag is going to give you what you want, because you'll be dealing with that yourself ... :)================================Kenneth Grome, WebDNA Consultant808-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/
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:
more [sendmail] woes.. (2000)
OT: Several requests (2003)
webcat 2.1 (1997)
WebDNA color code chart - help (2002)
[delete] problem (1997)
Falsifying [BROWSERNAME] (1998)
bug in [SendMail] (1997)
POP Mail Server Reseting (1998)
Bad spawn! Finish your work! (2002)
PCS Frames (1997)
Sendmail truncation in Eudora Clients (1998)
Unique SKU Numbers (2000)
Running a store on BOTH http and https (1998)
[Q] Novice's question (1997)
unsubscribe (2000)
Editor? (2000)
Long/Lat (2002)
Enhancement Request for WebCatalog-NT (1996)
Banners (1997)
WebCat2b13MacPlugIn - [showif][search][/showif] (1997)