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 out test 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 if On 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 Minor Director of Internet Services ------------------------------------------------------------ Cybermill Communications http://www.cybermill.com http://www.merchantmaker.comProviding Ecommerce and interactive website development and hosting 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:

    
  1. Re: duplicate cart numbers - New P3P Rule (Terry Nair 2002)
  2. Re: duplicate cart numbers - New P3P Rule (Michael Davis 2002)
  3. Re: duplicate cart numbers - New P3P Rule (Alain Russell 2002)
  4. Re: duplicate cart numbers - New P3P Rule (Clement Ross 2002)
  5. Re: duplicate cart numbers - New P3P Rule (Frank Nordberg 2002)
  6. Re: duplicate cart numbers - New P3P Rule (Alain Russell 2002)
  7. Re: duplicate cart numbers - New P3P Rule (Terry Nair 2002)
  8. Re: duplicate cart numbers (Michael Davis 2002)
  9. Re: duplicate cart numbers (Michael Davis 2002)
  10. Re: duplicate cart numbers (Glenn Busbin 2002)
  11. Re: duplicate cart numbers (WJ Starck 2002)
  12. Re: duplicate cart numbers (WJ Starck 2002)
  13. Re: duplicate cart numbers (Glenn Busbin 2002)
  14. Re: duplicate cart numbers (Frank Nordberg 2002)
  15. Re: duplicate cart numbers (WJ Starck 2002)
  16. Re: duplicate cart numbers (WJ Starck 2002)
  17. Re: duplicate cart numbers (Glenn Busbin 2002)
  18. Re: duplicate cart numbers (Glenn Busbin 2002)
  19. Re: duplicate cart numbers (WJ Starck 2002)
  20. Re: duplicate cart numbers (Glenn Busbin 2002)
  21. Re: To Cookie or Not to Cookie? Was: Re: duplicate cart numbers (Bob Minor 2002)
  22. To Cookie or Not to Cookie? Was: Re: duplicate cart numbers (WJ Starck 2002)
  23. Re: duplicate cart numbers (Gary Krockover 2002)
  24. Re: duplicate cart numbers (WJ Starck 2002)
  25. Re: duplicate cart numbers (Bob Minor 2002)
  26. Re: duplicate cart numbers (catalogs 2002)
  27. Re: duplicate cart numbers (Bob Minor 2002)
  28. duplicate cart numbers (catalogs 2002)
  29. Re: Duplicate Cart Numbers (Robert Kudrle 1999)
  30. Re: Duplicate Cart Numbers (John Butler 1999)
  31. Duplicate Cart Numbers (Robert Kudrle 1999)
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 out test 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 if On 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 Minor Director of Internet Services ------------------------------------------------------------ Cybermill Communications http://www.cybermill.com http://www.merchantmaker.comProviding Ecommerce and interactive website development and hosting 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:

DDEConnect not working (2006) Claris HomePage messes up the code (1997) Initiating NewCart (1997) Less than or equal to........ (1997) Ampersand Searching (2000) SMSI (Scott) clues?? Bug fixes for next WebDNA release (2005) Re:Remote stockroom ? (1998) Date search - yes or no (1997) Country & Ship-to address & other fields ? (1997) order in the search? (2003) Follow-Up to: Removing [showif] makes a big difference in speed (1997) [ListFiles] context & alias (1997) [WebDNA] Is there a good file upload script available these days? (2009) too many nested tags ... (1997) problems with 2 tags (1997) Multiple fields on 1 input (1997) [sendmail] and [formvariables] (1997) Grep help (2005) Protect (1997) Re:Running 2 two WebCatalog.acgi's (1996)