Re: duplicate cart numbers
This WebDNA talk-list message is from 2002
It keeps the original formatting.
numero = 45357
interpreted = N
texte = Actually all generated cart numbers are unique, problems only arise when people follow bookmarks with the cart stored in them. I don't like how webdna handles such occurrences and so I wrote the routine to take care of those situations so I could avoid the ugly errors that webdna produces by default. The cart number is a machination of the date and time along with other factors and so is unique by default. If you still want the other code bits I can share, but its fairly simple to check and use your own database names, filenames etc.ie:start final check outtest for duplicate ip if duplicate then got to cartcleaner.tpl?file=[cart] on the cartcleaner page copy data from [file] to [cart] redirect to invoice.tpl?cart=[cart] else redirect to invoice.tpl?cart=[cart] end ifOn Sunday, November 17, 2002, at 01:45 AM, catalogs wrote:> are you checking then if there is a duplicate, it randomizes again and> double checks, then loops until clear.>> can I get the code from you? It sound like you have taken care of what > I am> looking for. Why do you think web cat store builder have not taken > care of> these issues, there is so many things that the store could use but > does not> address?Robert MinorDirector of Internet Services------------------------------------------------------------Cybermill Communicationshttp://www.cybermill.com http://www.merchantmaker.comProviding Ecommerce and interactive website development andhosting services on Macintosh, Windows NT, Unix, and AS/400.All your websites are belong to us!-------------------------------------------------------------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:
Actually all generated cart numbers are unique, problems only arise when people follow bookmarks with the cart stored in them. I don't like how webdna handles such occurrences and so I wrote the routine to take care of those situations so I could avoid the ugly errors that webdna produces by default. The cart number is a machination of the date and time along with other factors and so is unique by default. If you still want the other code bits I can share, but its fairly simple to check and use your own database names, filenames etc.ie:start final check outtest for duplicate ip if duplicate then got to cartcleaner.tpl?file=[cart] on the cartcleaner page copy data from [file] to [cart] redirect to invoice.tpl?cart=[cart] else redirect to invoice.tpl?cart=[cart] end ifOn Sunday, November 17, 2002, at 01:45 AM, catalogs wrote:> are you checking then if there is a duplicate, it randomizes again and> double checks, then loops until clear.>> can I get the code from you? It sound like you have taken care of what > I am> looking for. Why do you think web cat store builder have not taken > care of> these issues, there is so many things that the store could use but > does not> address?Robert MinorDirector of Internet Services------------------------------------------------------------Cybermill Communicationshttp://www.cybermill.com http://www.merchantmaker.comProviding Ecommerce and interactive website development andhosting services on Macintosh, Windows NT, Unix, and AS/400.All your websites are belong to us!-------------------------------------------------------------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/
Bob Minor
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:
rules for .tpl only in certain domains... (2000)
[WebDNA] Some code inside a large loops fail ... but why? (2010)
Calculating multiple shipping... (1997)
HELP - NONE STOP DIGESTS. Digest for 4/24/97) (1997)
Silly Question (1997)
[accountNum] and [math] (1997)
[TaxableTotal] - not working with AOL and IE (1997)
Online TCH (2004)
[WebDNA] Cheers (2008)
Likelihood of a duplicate (2005)
Hyperboard users wanting a quoted message (1998)
What am I missing (1997)
SiteGuard Admin Feature ? (1997)
WebCatalog NT beta 18 now available (1997)
Problem with Formulas.db (1998)
Re2: frames & carts (1997)
Adding headers to email (1997)
[OT] Security in general [Was] WebDNA security (2004)
Webcat/Webmerchant part II (1998)
Server problem? (1998)