Re: New Cart No. on same page

This WebDNA talk-list message is from

2003


It keeps the original formatting.
numero = 47343
interpreted = N
texte = On 1/31/03 4:35 PM, Rob Marquardt wrote:> [date format=%y%m%d%H%M%S]-[getchars > start=1&end=6][random][random][random][random][random][random][/getchars] > > *If* two numbers are generated in the same second and *if* the random number > strings happen to hit the same sequence, you've got a problem. Probably > don't want to use it in a case where you're generating billions of numbers > per second. We have used something nearly identical. However I am not sure how the date and time would turn out if you were generating many many numbers on the same page (IE: procesed at nearly the same time). At that point you fall back on the random number to be sufficient (which it probably should be even with WEBDNA and random seed weirdness).But it seems that if you are doing this within some kind of loop, as the original post suggests, then the [index] is the perfect answer (applied with math if you want greater changes in the sequence). HTH AlexAlex J McCombie New World Media Chief Information Officer Drawer 607 800/724.8973 Fair Haven, NY 13064 Alex@NewWorldMedia.com http://OurClients.comInterface Designer WebDNA Programmer Database Designer------------------------------------------------------------- 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://webdna.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. Re: New Cart No. on same page (Marko Bernyk 2003)
  2. Re: New Cart No. on same page (Dan Strong 2003)
  3. Re: New Cart No. on same page (Rob Marquardt 2003)
  4. Re: New Cart No. on same page (Alex McCombie 2003)
  5. Re: New Cart No. on same page (Alex McCombie 2003)
  6. Re: New Cart No. on same page (Rob Marquardt 2003)
  7. Re: New Cart No. on same page (Alex McCombie 2003)
  8. Re: New Cart No. on same page (Rob Marquardt 2003)
  9. Re: New Cart No. on same page (Matthew Bohne 2003)
  10. Re: New Cart No. on same page (John Peacock 2003)
  11. Re: New Cart No. on same page (Donovan 2003)
  12. Re: New Cart No. on same page (Matthew Bohne 2003)
  13. Re: New Cart No. on same page (Gyuri 2003)
  14. Re: New Cart No. on same page (Glenn Busbin 2003)
  15. Re: New Cart No. on same page (Matthew Bohne 2003)
  16. Re: New Cart No. on same page (Alex McCombie 2003)
  17. Re: New Cart No. on same page (Gary Krockover 2003)
  18. New Cart No. on same page (Matthew Bohne 2003)
On 1/31/03 4:35 PM, Rob Marquardt wrote:> [date format=%y%m%d%H%M%S]-[getchars > start=1&end=6][random][random][random][random][random][random][/getchars] > > *If* two numbers are generated in the same second and *if* the random number > strings happen to hit the same sequence, you've got a problem. Probably > don't want to use it in a case where you're generating billions of numbers > per second. We have used something nearly identical. However I am not sure how the date and time would turn out if you were generating many many numbers on the same page (IE: procesed at nearly the same time). At that point you fall back on the random number to be sufficient (which it probably should be even with WEBDNA and random seed weirdness).But it seems that if you are doing this within some kind of loop, as the original post suggests, then the [index] is the perfect answer (applied with math if you want greater changes in the sequence). HTH AlexAlex J McCombie New World Media Chief Information Officer Drawer 607 800/724.8973 Fair Haven, NY 13064 Alex@NewWorldMedia.com http://OurClients.comInterface Designer WebDNA Programmer Database Designer------------------------------------------------------------- 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://webdna.smithmicro.com/ Alex McCombie

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] Apply discount using a line item (2011) REPLACE problem (2000) Re:appending to the database (1999) If Empty ? (1997) Keep away (1997) How To question on setting up downloads (1997) WebCat2 Append problem (B14Macacgi) (1997) PIXO (1997) [DOS] (1999) Help! Missing [showif] or [hideif] (2000) Edit Plus and webcat code library - Gary Krockover (2003) [WebDNA] Search not sorting (2017) POST Datamissing? (1998) WCS Newbie question (1997) WebDNA Solutions ... sorry! (1997) Post (1997) Multiple Replaces? (1997) Bug? (1997) Getting Total Quantity (1997) WebCommerce: Folder organization ? (1997)